2002-07-06 Andrew Birkett <adb@tardis.ed.ac.uk>
authorAndrew Birkett <andrew@mono-cvs.ximian.com>
Sat, 6 Jul 2002 16:05:07 +0000 (16:05 -0000)
committerAndrew Birkett <andrew@mono-cvs.ximian.com>
Sat, 6 Jul 2002 16:05:07 +0000 (16:05 -0000)
* cs1039.cs, cs1033.cs, cs1010.cs: New tests.

svn path=/trunk/mcs/; revision=5620

mcs/errors/ChangeLog
mcs/errors/cs1010.cs [new file with mode: 0644]
mcs/errors/cs1033.cs [new file with mode: 0644]
mcs/errors/cs1039.cs [new file with mode: 0644]

index bb341c5dc8cad98b7c93dc93bc632b2a2c152813..2100d203399ab19bde8cf8bba35e83c7684a9015 100644 (file)
@@ -1,3 +1,7 @@
+2002-07-06  Andrew Birkett  <adb@tardis.ed.ac.uk>
+
+       * cs1039.cs, cs1033.cs, cs1010.cs: New tests.
+
 2002-06-26    <adb@tardis.ed.ac.uk>
 
        * cs1501-3.cs: Added new test for struct ctr typechecks.
diff --git a/mcs/errors/cs1010.cs b/mcs/errors/cs1010.cs
new file mode 100644 (file)
index 0000000..f70d491
--- /dev/null
@@ -0,0 +1,8 @@
+// cs1010.cs : Newline in constant\r
+// Line : 6\r
+\r
+class X\r
+{\r
+       static string s = "Hello\r
+world!";\r
+}
\ No newline at end of file
diff --git a/mcs/errors/cs1033.cs b/mcs/errors/cs1033.cs
new file mode 100644 (file)
index 0000000..09eb111
--- /dev/null
@@ -0,0 +1,7 @@
+// cs1033.cs : @ must be followed by " (or identifier)\r
+// Line : 6\r
+\r
+class X \r
+{\r
+       static string s = @ ;\r
+}\r
diff --git a/mcs/errors/cs1039.cs b/mcs/errors/cs1039.cs
new file mode 100644 (file)
index 0000000..df6c8f7
--- /dev/null
@@ -0,0 +1,6 @@
+// cs1039.cs : Unterminated string constant\r
+// Line : 6\r
+\r
+class X\r
+{\r
+       static string s = "foo
\ No newline at end of file