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:
authorRaja R Harinath <harinath@hurrynot.org>2004-07-02 14:05:18 +0400
committerRaja R Harinath <harinath@hurrynot.org>2004-07-02 14:05:18 +0400
commit7b9799de93c0a9b42288a7eea1f326f444e24d83 (patch)
tree61fc8d9e3401f83d779ce3d27aef947d908289c4 /mcs/errors/cs0038-3.cs
parentba03d63cf5e69da99105bf3e169b99d8db07c8d5 (diff)
* cs0038-3.cs: New testcase from #60730.
* cs0038-4.cs: Likewise. svn path=/trunk/mcs/; revision=30653
Diffstat (limited to 'mcs/errors/cs0038-3.cs')
-rw-r--r--mcs/errors/cs0038-3.cs16
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs0038-3.cs b/mcs/errors/cs0038-3.cs
new file mode 100644
index 00000000000..6d0f1743b6c
--- /dev/null
+++ b/mcs/errors/cs0038-3.cs
@@ -0,0 +1,16 @@
+public class A {
+ public int Foo { get { return 1; } }
+}
+
+public class B : A {
+ public static void Main ()
+ {
+ }
+
+ public class C {
+ public void Baz ()
+ {
+ int x = Foo;
+ }
+ }
+}