2005-08-19 Florian Gross <flgr@ccan.de>
[mono.git] / mcs / class / Microsoft.JScript / Test / Mozilla / ecma_2 / Exceptions / expression-007.js
index ff464c6f9316a9f0aba68e494dfc9f7a9e3389e9..02d199417a31790d914974c710fd99d7da331382 100644 (file)
@@ -1,39 +1,39 @@
-/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */\r
-/**\r
-   File Name:          expression-007.js\r
-   Corresponds To:     11.2.2-2-n.js\r
-   ECMA Section:       11.2.2. The new operator\r
-   Description:\r
-\r
-\r
-   Author:             christine@netscape.com\r
-   Date:               12 november 1997\r
-*/\r
-var SECTION = "expression-007";\r
-var VERSION = "JS1_4";\r
-var TITLE   = "The new operator";\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
-  UNDEFINED = void 0;\r
-  result = new UNDEFINED();\r
-} catch ( e ) {\r
-  result = expect;\r
-  exception = e.toString();\r
-}\r
-\r
-new TestCase(\r
-  SECTION,\r
-  "UNDEFINED = void 0; result = new UNDEFINED()" +\r
-  " (threw " + exception +")",\r
-  expect,\r
-  result );\r
-\r
-test();\r
-\r
+/* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
+/**
+   File Name:          expression-007.js
+   Corresponds To:     11.2.2-2-n.js
+   ECMA Section:       11.2.2. The new operator
+   Description:
+
+
+   Author:             christine@netscape.com
+   Date:               12 november 1997
+*/
+var SECTION = "expression-007";
+var VERSION = "JS1_4";
+var TITLE   = "The new operator";
+
+startTest();
+writeHeaderToLog( SECTION + " "+ TITLE);
+
+var result = "Failed";
+var exception = "No exception thrown";
+var expect = "Passed";
+
+try {
+  UNDEFINED = void 0;
+  result = new UNDEFINED();
+} catch ( e ) {
+  result = expect;
+  exception = e.toString();
+}
+
+new TestCase(
+  SECTION,
+  "UNDEFINED = void 0; result = new UNDEFINED()" +
+  " (threw " + exception +")",
+  expect,
+  result );
+
+test();
+