This commit was manufactured by cvs2svn to create branch 'mono-1-0'.
[mono.git] / mcs / errors / cs0077.cs
1 // cs0077.cs: As operator can only be used with reference types.
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