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>2014-11-11 17:42:05 +0300
committerMarek Safar <marek.safar@gmail.com>2014-11-11 17:42:05 +0300
commit9ddd46b8907fef6f234b3d77d5ff13fefe285e68 (patch)
tree403960b070f22fd6d93b0d9f7a0826588ead42d2 /mcs/tests/test-908.cs
parent31b2d605496b5018eb30835d468eacb6d87416e4 (diff)
[mcs] Extended pragma warning syntax
Diffstat (limited to 'mcs/tests/test-908.cs')
-rw-r--r--mcs/tests/test-908.cs14
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/tests/test-908.cs b/mcs/tests/test-908.cs
new file mode 100644
index 00000000000..fdc40f6ce39
--- /dev/null
+++ b/mcs/tests/test-908.cs
@@ -0,0 +1,14 @@
+// Compiler options: -warnaserror
+
+public class Test
+{
+#pragma warning disable public
+#pragma warning disable CS1685
+#pragma warning disable CS1700, 1701
+
+ public static void Main ()
+ {
+ }
+#pragma warning restore CS1685
+#pragma warning restore public, 1701
+} \ No newline at end of file