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:
authorMiguel de Icaza <miguel@gnome.org>2003-02-19 02:26:15 +0300
committerMiguel de Icaza <miguel@gnome.org>2003-02-19 02:26:15 +0300
commit20a2b89c9a2083051fb0b212358544b1a3fbaa66 (patch)
tree16fad0851c41f4a35bbc28898def9ff32b3179c9 /mcs/errors/cs0122-3.cs
parente80a79859254ea123f2c52a56b75707ad40fb25c (diff)
Add another test file
svn path=/trunk/mcs/; revision=11707
Diffstat (limited to 'mcs/errors/cs0122-3.cs')
-rw-r--r--mcs/errors/cs0122-3.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs0122-3.cs b/mcs/errors/cs0122-3.cs
new file mode 100644
index 00000000000..e19867e9350
--- /dev/null
+++ b/mcs/errors/cs0122-3.cs
@@ -0,0 +1,16 @@
+interface r {
+ A.B aaa ();
+}
+
+class A {
+ enum B {
+ D
+ }
+}
+
+class B {
+ static void Main ()
+ {
+ A.B x = A.B.D;
+ }
+}