Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

22 lines
352 B
C#

// CS1510: A ref or out argument must be an assignable variable
// Line: 19
// this is bug #70402
using System;
class T {
enum A { a, b }
static void Convert (out A a)
{
a = A.a;
}
static void Main ()
{
int a = 0;
Convert (out (A) a);
}
}