* roottypes.cs: Rename from tree.cs.
[mono.git] / mcs / errors / cs0077.cs
1 // cs0077.cs: The as operator must be used with a reference type (`ErrorCS0077.Foo' is a value type)
2 // Line: 10
3
4 using System;
5
6 class ErrorCS0077 {
7         struct Foo { }
8         public static void Main () {
9                 Foo s1, s2; 
10                 s1 = s2 as ErrorCS0077.Foo;
11         }
12 }
13