OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, 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 the combined use of metatargets and library tags. | 5 // Regression test for the combined use of metatargets and library tags. |
6 | 6 |
7 library annotations; | 7 library annotations; |
8 | 8 |
9 class UsedOnlyOnLibrary { | 9 class UsedOnlyOnLibrary { |
10 const UsedOnlyOnLibrary(); | 10 const UsedOnlyOnLibrary(); |
11 } | 11 } |
| 12 |
12 const usedOnlyOnLibrary = const UsedOnlyOnLibrary(); | 13 const usedOnlyOnLibrary = const UsedOnlyOnLibrary(); |
13 | 14 |
14 class Reflectable { | 15 class Reflectable { |
15 const Reflectable(); | 16 const Reflectable(); |
16 } | 17 } |
| 18 |
17 const Reflectable reflectable = const Reflectable(); | 19 const Reflectable reflectable = const Reflectable(); |
OLD | NEW |