Further updates to the makefile
[mono.git] / mcs / tests / test-48.cs
1 using System;
2
3 public class Blah {
4         
5         public const int i = 5;
6
7         public static int Main ()
8         {
9                 const int foo = 10;
10                 
11                 int j = Blah.i;
12
13                 if (j != 5)
14                         return 1;
15
16                 if (foo != 10)
17                         return 1;
18
19                 for (int i = 0; i < 5; ++i){
20                         const int bar = 15;
21
22                         Console.WriteLine (bar);
23                         Console.WriteLine (foo);
24                 }
25
26                 Console.WriteLine ("Constant emission test okay");
27
28                 return 0;
29         }
30 }