blob: bfb55216e348b5cf97ce5fd1920e92bd5429d0b7 [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 unicode symbols, including non-CRLF line breaks are
* completely ignored within comments.
* @author iefremov
* @reviewer rodionov
*/
main() {
/*
Абыр-абыр... Абырвалг!
*/
//☠ ☡ ☢ ☣ ☤ ☥ ☦ ☧ ☨ ☩ ☪ ☫ ☬ ☭ ☮ ☯ ☰ ☱ ☲ ☳ ☴ ☵ ☶ ☷ ☸ ☹ ☺ ☻ ☼ ☽ ☾ ☿
/*
☠ ☡ ☢ ☣ ☤ ☥ ☦ ☧ ☨ ☩ ☪ ☫ ☬ ☭ ☮ ☯ ☰ ☱ ☲ ☳ ☴ ☵ ☶ ☷ ☸ ☹ ☺ ☻ ☼ ☽ ☾ ☿
*/
/**
☠ ☡ ☢ ☣ ☤ ☥ ☦ ☧ ☨ ☩ ☪ ☫ ☬ ☭ ☮ ☯ ☰ ☱ ☲ ☳ ☴ ☵ ☶ ☷ ☸ ☹ ☺ ☻ ☼ ☽ ☾ ☿
*/
//below are various unicode line breaks:
//-><-(U+2029)-><-(U+2028)->…<-(U+0085)-> <(U+000b)-> <-(U+000c)
/*below are various unicode line breaks:
->
<-(U+2029)->
<-(U+2028)->…<-(U+0085)-> <(U+000b)-> <-(U+000c)
*/
}