Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(263)

Unified Diff: test/codegen/try_catch.dart

Issue 998043002: Fixes in codegen and test script (Closed) Base URL: git@github.com:dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: test/codegen/try_catch.dart
diff --git a/test/codegen/try_catch.dart b/test/codegen/try_catch.dart
new file mode 100644
index 0000000000000000000000000000000000000000..c67493f9c19e079b80ebabd1523994d05470cdc3
--- /dev/null
+++ b/test/codegen/try_catch.dart
@@ -0,0 +1,9 @@
+main() {
+ try {
+ throw "hi there";
+ } on String catch (e, t) {
+ } catch (e, t) {
+ rethrow;
+ }
+}
+

Powered by Google App Engine
This is Rietveld 408576698