summaryrefslogtreecommitdiffstats
path: root/js/src/tests/test262/language/line-terminators/invalid-comment-single-ps.js
blob: 5846a73994e84838f00a36771b2560c85df2a018 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// |reftest| error:SyntaxError
// Copyright 2009 the Sputnik authors.  All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.

/*---
info: Single line comments can not contain PARAGRAPH SEPARATOR (U+2029) inside
es5id: 7.3_A3.4_T1
description: Insert PARAGRAPH SEPARATOR (\u2029) into single line comment
negative:
  phase: parse
  type: SyntaxError
---*/

$DONOTEVALUATE();

// single line PS>
??? (invalid)