2005-08-19 Florian Gross <flgr@ccan.de>
[mono.git] / mcs / class / Microsoft.JScript / Test / Mozilla / ecma_2 / Exceptions / lexical-018.js
index b3f2e5ce6a1de83c32140636bbbbcde02d74ae75..6a6881eba897bb462ef88b30a798ce04bce40a9b 100644 (file)
@@ -1,48 +1,48 @@
-/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */\r
-/**\r
-   File Name:          lexical-018\r
-   Corresponds To:     7.4.3-11-n.js\r
-   ECMA Section:       7.4.3\r
-\r
-   Description:\r
-   The following words are used as keywords in proposed extensions and are\r
-   therefore reserved to allow for the possibility of future adoption of\r
-   those extensions.\r
-\r
-   FutureReservedWord :: one of\r
-   case    debugger    export      super\r
-   catch   default     extends     switch\r
-   class   do          finally     throw\r
-   const   enum        import      try\r
-\r
-   Author:             christine@netscape.com\r
-   Date:               12 november 1997\r
-*/\r
-var SECTION = "lexical-018";\r
-var VERSION = "JS1_4";\r
-var TITLE   = "Future Reserved Words";\r
-\r
-startTest();\r
-writeHeaderToLog( SECTION + " "+ TITLE);\r
-\r
-var result = "Failed";\r
-var exception = "No exception thrown";\r
-var expect = "Passed";\r
-\r
-try {\r
-  eval("finally = true;");\r
-} catch ( e ) {\r
-  result = expect;\r
-  exception = e.toString();\r
-}\r
-\r
-new TestCase(\r
-  SECTION,\r
-  "finally = true" +\r
-  " (threw " + exception +")",\r
-  expect,\r
-  result );\r
-\r
-test();\r
-\r
-\r
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/**
+   File Name:          lexical-018
+   Corresponds To:     7.4.3-11-n.js
+   ECMA Section:       7.4.3
+
+   Description:
+   The following words are used as keywords in proposed extensions and are
+   therefore reserved to allow for the possibility of future adoption of
+   those extensions.
+
+   FutureReservedWord :: one of
+   case    debugger    export      super
+   catch   default     extends     switch
+   class   do          finally     throw
+   const   enum        import      try
+
+   Author:             christine@netscape.com
+   Date:               12 november 1997
+*/
+var SECTION = "lexical-018";
+var VERSION = "JS1_4";
+var TITLE   = "Future Reserved Words";
+
+startTest();
+writeHeaderToLog( SECTION + " "+ TITLE);
+
+var result = "Failed";
+var exception = "No exception thrown";
+var expect = "Passed";
+
+try {
+  eval("finally = true;");
+} catch ( e ) {
+  result = expect;
+  exception = e.toString();
+}
+
+new TestCase(
+  SECTION,
+  "finally = true" +
+  " (threw " + exception +")",
+  expect,
+  result );
+
+test();
+
+