diff options
author | Martin Baulig <martin@novell.com> | 2003-04-09 14:59:26 +0400 |
---|---|---|
committer | Martin Baulig <martin@novell.com> | 2003-04-09 14:59:26 +0400 |
commit | 58a563b3d2edb7542f74e338a7ac6f8e76f8b56c (patch) | |
tree | b60cc6f5c8c565b132342df98c3a0dfd893734af /mcs/tests/test-190.cs | |
parent | 826ea1867c2049ba128a59a1b7f8bd40fec5c07d (diff) |
Ooops, this is the correct test-190.cs file.
svn path=/trunk/mcs/; revision=13437
Diffstat (limited to 'mcs/tests/test-190.cs')
-rw-r--r-- | mcs/tests/test-190.cs | 28 |
1 files changed, 18 insertions, 10 deletions
diff --git a/mcs/tests/test-190.cs b/mcs/tests/test-190.cs index ab5e3b7b480..4a8f6bea780 100644 --- a/mcs/tests/test-190.cs +++ b/mcs/tests/test-190.cs @@ -1,15 +1,23 @@ -public class A { - private int var; -} +class A +{ + private int foo = 0; -public class B: A { - public void foo() { - var = 1; + class B : A + { + void Test () + { + foo = 3; + } } -} -public class Cl { - public static void Main() { - // Nothing + class C + { + void Test (A a) + { + a.foo = 4; + } } + + static void Main () + { } } |