summaryrefslogtreecommitdiff
path: root/mcs/tests/test-883.cs
diff options
context:
space:
mode:
Diffstat (limited to 'mcs/tests/test-883.cs')
-rw-r--r--mcs/tests/test-883.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/tests/test-883.cs b/mcs/tests/test-883.cs
new file mode 100644
index 0000000000..63d6e20a57
--- /dev/null
+++ b/mcs/tests/test-883.cs
@@ -0,0 +1,14 @@
+// Compiler options: -r:test-883-lib.dll -t:library
+
+public enum E
+{
+ TestField = 3
+}
+
+public class Second
+{
+ public void TestFinal ()
+ {
+ TestClass.Foo (E.TestField);
+ }
+}