dbb10e2cc8
http://code.google.com/p/dart/issues/detail?id=1039 Language Specification 0.06, 14.1.2 specifices that multiline comments can nest: MULTI LINE COMMENT: ‘/*’ (MULTI LINE COMMENT | ̃ ‘*/’)* ‘*/’ ; R=zundel BUG=1039 TEST= Review URL: http://codereview.chromium.org//9030028 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@2964 260f80e4-7a28-3924-810f-c04153c831b5
23 lines
513 B
Dart
23 lines
513 B
Dart
// Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file
|
|
// for details. All rights reserved. Use of this source code is governed by a
|
|
// BSD-style license that can be found in the LICENSE file.
|
|
// Dart test program testing nested comments
|
|
|
|
// /* nested comment */
|
|
/*// nested comment */
|
|
/*/* nested comment */*/
|
|
/* entire function
|
|
void main() {
|
|
/* nested comment */
|
|
Expect.isTrue(false); // nested
|
|
}
|
|
*/
|
|
|
|
/**
|
|
test documentation
|
|
/* nested comment */
|
|
*/
|
|
main() {
|
|
Expect.isTrue(true);
|
|
}
|