blob: 3577db7263625def63ade5d7f8e2960395bb6e3a [file] [log] [blame]
// 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.
/// @assertion A multi-line comment begins with the token '/*' and ends with the
/// token '*/'. Everything between '/*' and '*/' must be ignored by the Dart
/// compiler unless the comment is a documentation comment. Comments may nest.
/// MULTI LINE COMMENT :
/// '/''*' (MULTI LINE COMMENT | ~ '*''/')* '*''/'
/// ;
/// @description Checks that it is a compile-time error when there is an unpaired
/// multi-line comment end token inside another multi-line comment.
/// @author rodionov
/*
/* Comment */
/*/* Nested comment **/ */
*/ Unpaired token /* */
// ^
// [analyzer] unspecified
// [cfe] unspecified
*/
//^
// [analyzer] unspecified
// [cfe] unspecified
main() {
}