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

24 lines
227 B
C#

// CS0152: The label `case 2:' already occurs in this switch statement
// Line: 19
using System;
enum E
{
Foo = 2
}
class X
{
void Foo (E e)
{
switch (e)
{
case E.Foo:
break;
case E.Foo:
break;
}
}
}