| 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 // Dart test for testing access to private fields. | 4 // Dart test for testing access to private fields. |
| 5 | 5 |
| 6 main() { | 6 main() { |
| 7 PrivateMain.main(); | 7 PrivateMain.main(); |
| 8 } | 8 } |
| 9 | 9 |
| 10 class PrivateMain { | 10 class PrivateMain { |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 } | 48 } |
| 49 Expect.equals(-1, value); | 49 Expect.equals(-1, value); |
| 50 } | 50 } |
| 51 | 51 |
| 52 static main() { | 52 static main() { |
| 53 accessMyPrivates(); | 53 accessMyPrivates(); |
| 54 accessMyLibPrivates(); | 54 accessMyLibPrivates(); |
| 55 accessOtherLibPrivates(); | 55 accessOtherLibPrivates(); |
| 56 } | 56 } |
| 57 } | 57 } |
| OLD | NEW |