Files
Marek Safar d2a26c9595 [mcs] C# 7 tuple (foundation only).
Still couple of advanced features not implemented and parser cannot
deal with unnamed tuple type at type declaration level.
2017-06-30 19:47:06 +02:00

10 lines
187 B
C#

// CS8307: The first operand of an `as' operator may not be a tuple literal without a natural type
// Line: 8
class X
{
public static void Main ()
{
var g = (1, Main) as object;
}
}