summaryrefslogtreecommitdiff
path: root/mcs/tests/test-642.cs
blob: d5e3a18f5e916ffdae03045c98fe1becb51f18ac (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
enum E : byte { }

class C
{
  static E e;
  static byte b;
  static ushort u;

  public static int Main ()
  {
    b |= (byte) e;
    u |= (ushort) e;
    return b;
  }
}