diff options
Diffstat (limited to 'test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.js')
-rw-r--r-- | test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.js | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.js b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.js index a490cebc5..1ce3a1b13 100644 --- a/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.js +++ b/test/suite/sputnik/Conformance/07_Lexical_Conventions/7.5_Tokens/7.5.3_Future_Reserved_Words/S7.5.3_A1.18.js @@ -1,12 +1,15 @@ -// Copyright 2009 the Sputnik authors. All rights reserved.
-// This code is governed by the BSD license found in the LICENSE file.
-
-/**
- * @name: S7.5.3_A1.18;
- * @section: 7.5.3;
- * @assertion: The "interface" token can not be used as identifier;
- * @description: Checking if execution of "interface = 1" fails;
- * @negative
-*/
-
-interface = 1;
+// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. + +/** + * @name: S7.5.3_A1.18; + * @section: 7.5.3; + * @assertion: The "interface" token can not be used as identifier in + * strict code; + * @description: Checking if execution of "interface = 1" fails in + * strict code; + * @negative + */ + +"use strict"; +interface = 1; |