Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarek Safar <marek.safar@gmail.com>2007-03-25 16:35:41 +0400
committerMarek Safar <marek.safar@gmail.com>2007-03-25 16:35:41 +0400
commit38dac987971e47aff67209fa5880844f214a057d (patch)
tree8d1fad9cf325d10726a62882c9b675dd3a0766c6 /mcs/tests/test-568.cs
parent9004f8a67810ac71051ffbdcaba280db0b00f190 (diff)
New test.
svn path=/trunk/mcs/; revision=74956
Diffstat (limited to 'mcs/tests/test-568.cs')
-rw-r--r--mcs/tests/test-568.cs15
1 files changed, 15 insertions, 0 deletions
diff --git a/mcs/tests/test-568.cs b/mcs/tests/test-568.cs
new file mode 100644
index 00000000000..01655506b5e
--- /dev/null
+++ b/mcs/tests/test-568.cs
@@ -0,0 +1,15 @@
+// Compiler options: -warn:4 -warnaserror
+
+// Test invalid CS0108 warning for enum member hiding
+
+enum E
+{
+ Format
+}
+
+class B
+{
+ public static void Main ()
+ {
+ }
+} \ No newline at end of file