Debian Codegraph @

js/src/tests/test262/language/comments/multi-line-asi-carriage-return.js

raw
1 // Copyright (c) 2018 Mike Pennisi. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
3
4 /*---
5 es5id: 7.4
6 esid: sec-comments
7 description: >
8 A multi-line comment containing a carriage return should be considered a
9 LineTerminator
10 info: >
11 Comments behave like white space and are discarded except that, if a
12 MultiLineComment contains a line terminator code point, then the entire
13 comment is considered to be a LineTerminator for purposes of parsing by the
14 syntactic grammar.
15 ---*/
16
17 ''/* */''
18
19 reportCompare(0, 0);