OLD | NEW |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2011, 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 // Unresolved symbols should be reported as an error. | 5 // Unresolved symbols should be reported as an error. |
6 | 6 |
7 #library("Prefix13NegativeTest.dart"); | 7 library Prefix13NegativeTest.dart; |
8 #import("library12.dart", prefix:"lib12"); | 8 import "library12.dart" as lib12; |
9 | 9 |
10 class myClass extends lib12.Library13 { | 10 class myClass extends lib12.Library13 { |
11 myClass(int this.fld) : super(0); | 11 myClass(int this.fld) : super(0); |
12 int fld; | 12 int fld; |
13 } | 13 } |
14 | 14 |
15 main() { | 15 main() { |
16 new myClass(1); | 16 new myClass(1); |
17 } | 17 } |
OLD | NEW |