a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
22 lines
352 B
C#
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);
|
|
}
|
|
}
|