[runtime] Require C# namespace to be quoted.
[mono-project.git] / mono / tests / box.cs
blob6ca47d62b3ecc36db928a12a09bb66852fbdc3df
1 using System;
2 using System.IO;
4 public class Test {
6 public static int boxtest ()
8 int i = 123;
9 object o = i;
11 int j = (int) o;
13 if (i != j)
14 return 1;
16 return 0;
19 public static int Main () {
20 string t = 123.ToString();
22 if (t != "123")
23 return 1;
25 if (boxtest () != 0)
26 return 1;
29 return 0;