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>2002-01-18 03:31:21 +0300
committerMiguel de Icaza <miguel@gnome.org>2002-01-18 03:31:21 +0300
commitaf5735d1154c26e04a7421b7705b90f1ed8352ba (patch)
tree04b4372412908248dfab52fda5227262e22d644c /mcs/errors/bug18.cs
parent7ef49ff877da0600aa1bea5c281969ecb1abcac0 (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-xmcs/errors/bug18.cs16
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 ()
+ {
+ }
+}
+