mirror of https://github.com/tc39/test262.git
13 lines
391 B
JavaScript
13 lines
391 B
JavaScript
// 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 LINE FEED (U+000A) inside
|
|
es5id: 7.3_A3.1_T2
|
|
description: Insert LINE FEED (\u000A) into begin of single line comment
|
|
---*/
|
|
|
|
assert.throws(SyntaxError, function() {
|
|
eval("//\u000A single line comment");
|
|
});
|