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 program testing nested comments | 4 // Dart test program testing nested comments |
5 | 5 |
| 6 import "package:expect/expect.dart"; |
| 7 |
6 // /* nested comment */ | 8 // /* nested comment */ |
7 /*// nested comment */ | 9 /*// nested comment */ |
8 /*/* nested comment */*/ | 10 /*/* nested comment */*/ |
9 /* entire function | 11 /* entire function |
10 void main() { | 12 void main() { |
11 /* nested comment */ | 13 /* nested comment */ |
12 Expect.isTrue(false); // nested | 14 Expect.isTrue(false); // nested |
13 } | 15 } |
14 */ | 16 */ |
15 | 17 |
16 /** | 18 /** |
17 test documentation | 19 test documentation |
18 /* nested comment */ | 20 /* nested comment */ |
19 */ | 21 */ |
20 main() { | 22 main() { |
21 Expect.isTrue(true); | 23 Expect.isTrue(true); |
22 } | 24 } |
OLD | NEW |