Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Baulig <martin@novell.com>2005-03-14 18:39:43 +0300
committerMartin Baulig <martin@novell.com>2005-03-14 18:39:43 +0300
commit8086210775e4167673fde6063405496fd4b448e8 (patch)
treef33999f9be65bda08d81d049ef91f9dc2de68f41 /mcs/errors/gcs0019.cs
parent92ad830361a611cad8798d53f74c92059f956cef (diff)
New test.
svn path=/trunk/mcs/; revision=41797
Diffstat (limited to 'mcs/errors/gcs0019.cs')
-rw-r--r--mcs/errors/gcs0019.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/errors/gcs0019.cs b/mcs/errors/gcs0019.cs
new file mode 100644
index 00000000000..13c97e6ee7e
--- /dev/null
+++ b/mcs/errors/gcs0019.cs
@@ -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;
+ }
+}