New tests.
authorMarek Safar <marek.safar@gmail.com>
Wed, 8 Jul 2009 09:34:22 +0000 (09:34 -0000)
committerMarek Safar <marek.safar@gmail.com>
Wed, 8 Jul 2009 09:34:22 +0000 (09:34 -0000)
svn path=/trunk/mcs/; revision=137556

mcs/errors/cs0246-18.cs [new file with mode: 0644]
mcs/errors/cs1644-14.cs [new file with mode: 0644]

diff --git a/mcs/errors/cs0246-18.cs b/mcs/errors/cs0246-18.cs
new file mode 100644 (file)
index 0000000..077c471
--- /dev/null
@@ -0,0 +1,11 @@
+// CS0246: The type or namespace name `dynamic' could not be found. Are you missing a using directive or an assembly reference?
+// Line: 9
+// Compiler options: -langversion:ISO-2
+
+class C
+{
+       public static void Main ()
+       {
+               dynamic d = 9;
+       }
+}
diff --git a/mcs/errors/cs1644-14.cs b/mcs/errors/cs1644-14.cs
new file mode 100644 (file)
index 0000000..dc7aaf6
--- /dev/null
@@ -0,0 +1,11 @@
+// CS1644: Feature `implicitly typed local variable' cannot be used because it is not part of the C# 2.0 language specification
+// Line:  9
+// Compiler options: -langversion:ISO-2
+
+class M
+{
+       public static void Main ()
+       {
+               var a = 1;
+       }
+}