Files
mono/mcs/errors/cs0077.cs
T
Jaime Anguiano Olarra ef029ba358 With these new tests (73-79) we have completed the tests from CS0001 to
CS0100 for the compiler.

svn path=/trunk/mcs/; revision=9369
2002-12-03 17:33:10 +00:00

14 lines
210 B
C#

// cs0077.cs: As operator can only be used with reference types.
// Line: 10
using System;
class ErrorCS0077 {
struct Foo { }
public static void Main () {
Foo s1, s2;
s1 = s2 as ErrorCS0077.Foo;
}
}