diff options
Diffstat (limited to 'mcs/tests/test-99.cs')
-rwxr-xr-x | mcs/tests/test-99.cs | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/mcs/tests/test-99.cs b/mcs/tests/test-99.cs deleted file mode 100755 index 385330dfa55..00000000000 --- a/mcs/tests/test-99.cs +++ /dev/null @@ -1,25 +0,0 @@ -using System; -class X { - enum A : int { - a = 1, b, c - } - - static int Main () - { - int v = 1; - object foo = (v + A.a); - object foo2 = (1 + A.a); - - if (foo.GetType ().ToString () != "X+A"){ - Console.WriteLine ("Expression evaluator bug in E operator + (U x, E y)"); - return 1; - } - - if (foo2.GetType ().ToString () != "X+A"){ - Console.WriteLine ("Constant folder bug in E operator + (U x, E y)"); - return 2; - } - - return 0; - } -} |