Add error
authorMiguel de Icaza <miguel@gnome.org>
Sun, 13 Jan 2002 00:35:59 +0000 (00:35 -0000)
committerMiguel de Icaza <miguel@gnome.org>
Sun, 13 Jan 2002 00:35:59 +0000 (00:35 -0000)
svn path=/trunk/mcs/; revision=1963

mcs/errors/cs0677.cs [new file with mode: 0755]

diff --git a/mcs/errors/cs0677.cs b/mcs/errors/cs0677.cs
new file mode 100755 (executable)
index 0000000..822724a
--- /dev/null
@@ -0,0 +1,12 @@
+// cs0677.cs: X.a volatile field can not be of type "A"
+// Line: 8
+using System;
+
+struct A { int a; }
+
+class X {
+       public volatile A a;
+       static void Main ()
+               {
+               }
+}