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

Unified Diff: test/codegen/try_catch.dart

Issue 1988503002: Move generated files to gen/. (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Revise. Created 4 years, 7 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
« no previous file with comments | « test/codegen/temps.dart ('k') | test/codegen_test.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/codegen/try_catch.dart
diff --git a/test/codegen/try_catch.dart b/test/codegen/try_catch.dart
deleted file mode 100644
index 6139938cb0bb245eecdfde44c7bd6ef2cfc761be..0000000000000000000000000000000000000000
--- a/test/codegen/try_catch.dart
+++ /dev/null
@@ -1,54 +0,0 @@
-// Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file
-// for details. All rights reserved. Use of this source code is governed by a
-// BSD-style license that can be found in the LICENSE file.
-
-foo() {
- try {
- throw "hi there";
- } on String catch (e, t) {
- } catch (e, t) {
- rethrow;
- }
-}
-
-bar() {
- try {
- throw "hi there";
- } catch (e, t) {
- } on String catch (e, t) {
- // unreachable
- rethrow;
- }
-}
-
-baz() {
- try {
- throw "finally only";
- } finally {
- return true;
- }
-}
-
-qux() {
- try {
- throw "on only";
- } on String catch (e, t) {
- // unreachable
- rethrow;
- }
-}
-
-wub() {
- try {
- throw "on without exception parameter";
- } on String {
- }
-}
-
-main() {
- foo();
- bar();
- baz();
- qux();
- wub();
-}
« no previous file with comments | « test/codegen/temps.dart ('k') | test/codegen_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698