summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/comments/multi-line-asi-line-feed.js
blob: af99e055a4a2b26b0139893ed11972cb73232060 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// Copyright (c) 2018 Mike Pennisi.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
es5id: 7.4
esid: sec-comments
description: >
  A multi-line comment containing a line feed should be considered a
  LineTerminator
info: >
  Comments behave like white space and are discarded except that, if a
  MultiLineComment contains a line terminator code point, then the entire
  comment is considered to be a LineTerminator for purposes of parsing by the
  syntactic grammar.
---*/

''/*
*/''

reportCompare(0, 0);