2015-07-27 16:20:52 +00:00
|
|
|
// 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.
|
|
|
|
|
2020-03-21 16:12:36 +00:00
|
|
|
// @dart = 2.7
|
|
|
|
|
2019-07-01 16:21:41 +00:00
|
|
|
// Regression test for http://dartbug.com/23893
|
2015-07-27 16:20:52 +00:00
|
|
|
//
|
|
|
|
// Because annotations are parsed lazily, dart2js used to crash when an
|
|
|
|
// annotation had a syntax error.
|
|
|
|
|
|
|
|
@Deprecated("m"
|
2017-03-22 00:29:56 +00:00
|
|
|
,, // //# 01: compile-time error
|
2017-03-23 19:40:21 +00:00
|
|
|
)
|
2015-07-27 16:20:52 +00:00
|
|
|
class A {}
|
|
|
|
|
|
|
|
main() => new A();
|