| OLD | NEW |
| 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2015, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 // Regression test for issue 23051. | 5 // Regression test for issue 23051. |
| 6 | 6 |
| 7 main() { | 7 main() { |
| 8 new A(); // //# 01: compile-time error | 8 new A(); // //# 01: compile-time error |
| 9 } | 9 } |
| 10 | 10 |
| 11 class A { // //# 01: continued | 11 class A { // //# 01: continued |
| 12 // Note the trailing ' in the next line. //# 01: continued | 12 // Note the trailing ' in the next line. //# 01: continued |
| 13 get foo => bar();' // //# 01: continued | 13 get foo => bar();' // //# 01: continued |
| 14 /// 01: continued | 14 /// 01: continued |
| 15 String bar( // //# 01: continued | 15 String bar( // //# 01: continued |
| OLD | NEW |