| Index: tests/language/regress_23051_test.dart
|
| diff --git a/tests/language/regress_23051_test.dart b/tests/language/regress_23051_test.dart
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6d466d3aff8a05353f8ece0cc2827e543904ac7e
|
| --- /dev/null
|
| +++ b/tests/language/regress_23051_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 issue 23051.
|
| +
|
| +main() {
|
| + new A(); /// 01: compile-time error
|
| +}
|
| +
|
| +class A { /// 01: continued
|
| + // Note the trailing ' in the next line. /// 01: continued
|
| + get foo => bar();' /// 01: continued
|
| + /// 01: continued
|
| + String bar( /// 01: continued
|
|
|