New test.
authorMartin Baulig <martin@novell.com>
Mon, 14 Mar 2005 15:39:43 +0000 (15:39 -0000)
committerMartin Baulig <martin@novell.com>
Mon, 14 Mar 2005 15:39:43 +0000 (15:39 -0000)
svn path=/trunk/mcs/; revision=41797

mcs/errors/gcs0019.cs [new file with mode: 0644]

diff --git a/mcs/errors/gcs0019.cs b/mcs/errors/gcs0019.cs
new file mode 100644 (file)
index 0000000..13c97e6
--- /dev/null
@@ -0,0 +1,10 @@
+// CS0019: Operator ?? cannot be applied to operands of type `int' and `int'
+// Line: 8
+class X
+{
+       static void Main ()
+       {
+               int a = 5;
+               int b = a ?? 3;
+       }
+}