diff options
author | Miguel de Icaza <miguel@gnome.org> | 2002-01-18 03:31:21 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2002-01-18 03:31:21 +0300 |
commit | af5735d1154c26e04a7421b7705b90f1ed8352ba (patch) | |
tree | 04b4372412908248dfab52fda5227262e22d644c /mcs/errors/bug18.cs | |
parent | 7ef49ff877da0600aa1bea5c281969ecb1abcac0 (diff) |
Fix errors, so the compiler can focus on reporting the right error
svn path=/trunk/mcs/; revision=2034
Diffstat (limited to 'mcs/errors/bug18.cs')
-rwxr-xr-x | mcs/errors/bug18.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/bug18.cs b/mcs/errors/bug18.cs new file mode 100755 index 00000000000..61e0f0af006 --- /dev/null +++ b/mcs/errors/bug18.cs @@ -0,0 +1,16 @@ +namespace A { + interface B { + } +} + +class X { + static void A (object A) + { + object x = (A.B) A; + } + + static void Main () + { + } +} + |