New test.
[mono.git] / mcs / tests / dtest-011.cs
1 using System;
2
3 class C
4 {
5         void foo (int i)
6         {
7                 Console.WriteLine ("Got int: {0}", i);
8         }
9
10         void foo (string message)
11         {
12                 throw new ApplicationException ();
13         }
14
15         static void foo_static (long l)
16         {
17                 Console.WriteLine ("Got static long: {0}", l);
18         }
19
20         void test ()
21         {
22                 dynamic d = 1;
23                 foo (d);
24                 foo_static (d);
25         }
26
27         static void Main ()
28         {
29                 new C ().test ();
30         }
31 }