| Index: frog/tests/await/src/SwitchStatementNegativeTest.dart
|
| diff --git a/frog/tests/await/src/SwitchStatementNegativeTest.dart b/frog/tests/await/src/SwitchStatementNegativeTest.dart
|
| deleted file mode 100644
|
| index 414bb12775eed65c91fd1909de8edbfd0de2a3fc..0000000000000000000000000000000000000000
|
| --- a/frog/tests/await/src/SwitchStatementNegativeTest.dart
|
| +++ /dev/null
|
| @@ -1,15 +0,0 @@
|
| -// Copyright (c) 2011, 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.
|
| -
|
| -// Illegal to use await in case expressions.
|
| -#import("await_test_helper.dart");
|
| -
|
| -main() {
|
| - final f = futureOf(1);
|
| - final x = 3;
|
| - switch (x) {
|
| - case await f: return; // illegal to use await here.
|
| - default: return;
|
| - }
|
| -}
|
|
|