summaryrefslogtreecommitdiff
path: root/mcs/tests/gtest-540.cs
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/tests/gtest-540.cs')
-rw-r--r--mcs/tests/gtest-540.cs9
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/tests/gtest-540.cs b/mcs/tests/gtest-540.cs
index 8c9c43a160..7596032d16 100644
--- a/mcs/tests/gtest-540.cs
+++ b/mcs/tests/gtest-540.cs
@@ -88,4 +88,13 @@ class C
return 0;
}
+
+ // This does not look right but C# spec needs tidying up to special case it
+ void BrokenLiftedNull ()
+ {
+ int i = 44;
+ int? u = null;
+ i <<= u;
+ i <<= null;
+ }
} \ No newline at end of file