| Index: tests/compiler/dart2js_extra/invalid_annotation_test.dart
|
| diff --git a/tests/compiler/dart2js_extra/invalid_annotation_test.dart b/tests/compiler/dart2js_extra/invalid_annotation_test.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5e0285a86700691fd1afa9c2a8fec80583fcba15
|
| --- /dev/null
|
| +++ b/tests/compiler/dart2js_extra/invalid_annotation_test.dart
|
| @@ -0,0 +1,15 @@
|
| +// 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.
|
| +
|
| +// Regression test for http://dartbug.com/23893/
|
| +//
|
| +// Because annotations are parsed lazily, dart2js used to crash when an
|
| +// annotation had a syntax error.
|
| +
|
| +@Deprecated("m"
|
| +, /// 01: compile-time error
|
| +)
|
| +class A {}
|
| +
|
| +main() => new A();
|
|
|