blob: 383dd6869956dd940b747cb156568079c3ad6632 [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)
*/
}