diff options
author | Raja R Harinath <harinath@hurrynot.org> | 2004-07-02 14:05:18 +0400 |
---|---|---|
committer | Raja R Harinath <harinath@hurrynot.org> | 2004-07-02 14:05:18 +0400 |
commit | 7b9799de93c0a9b42288a7eea1f326f444e24d83 (patch) | |
tree | 61fc8d9e3401f83d779ce3d27aef947d908289c4 /mcs/errors/cs0038-4.cs | |
parent | ba03d63cf5e69da99105bf3e169b99d8db07c8d5 (diff) |
* cs0038-3.cs: New testcase from #60730.
* cs0038-4.cs: Likewise.
svn path=/trunk/mcs/; revision=30653
Diffstat (limited to 'mcs/errors/cs0038-4.cs')
-rw-r--r-- | mcs/errors/cs0038-4.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs0038-4.cs b/mcs/errors/cs0038-4.cs new file mode 100644 index 00000000000..b9028ca7c73 --- /dev/null +++ b/mcs/errors/cs0038-4.cs @@ -0,0 +1,14 @@ +public class B { + public static void Main () + { + } + + public int Foo { get { return 1; } } + + public class C { + public void Baz () + { + int x = Foo; + } + } +} |