[corlib] Fix a few NSLogWriter issues. (#13799)
[mono-project.git] / mcs / tests / test-798.cs
blob79510db17c7bec80494f02c1fff7f4d025761cc3
1 using System;
3 class A
5 public void Foo (out int a)
7 a = 100;
11 class B : A
13 public void Foo (ref int a)
15 throw new ApplicationException ("should not be called");
19 class C
21 public static int Main ()
23 int x;
24 new B().Foo (out x);
25 if (x != 100)
26 return 1;
28 return 0;