diff options
Diffstat (limited to 'test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js')
-rw-r--r-- | test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js b/test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js index b40b37236..7e0ff8cea 100644 --- a/test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js +++ b/test/suite/ch12/12.10/12.10.1/12.10.1-11gs.js @@ -1,16 +1,15 @@ -/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-
-/**
- * @path ch12/12.10/12.10.1/12.10.1-11gs.js
- * @description Strict Mode - SyntaxError is thrown when using with statement
- * @onlyStrict
- * @negative ^((?!NotEarlyError).)*$
- */
-
-"use strict";
-throw NotEarlyError;
-with ({}) { }
+// Copyright (c) 2012 Ecma International. All rights reserved. +// Ecma International makes this code available under the terms and conditions set +// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the +// "Use Terms"). Any redistribution of this code must retain the above +// copyright and this notice and otherwise comply with the Use Terms. + +/*--- +description: Strict Mode - SyntaxError is thrown when using with statement +negative: ^((?!NotEarlyError).)*$ +flags: [onlyStrict] +---*/ + +"use strict"; +throw NotEarlyError; +with ({}) { } |