diff options
author | Marek Safar <marek.safar@gmail.com> | 2014-11-11 17:42:05 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2014-11-11 17:42:05 +0300 |
commit | 9ddd46b8907fef6f234b3d77d5ff13fefe285e68 (patch) | |
tree | 403960b070f22fd6d93b0d9f7a0826588ead42d2 /mcs/tests/test-908.cs | |
parent | 31b2d605496b5018eb30835d468eacb6d87416e4 (diff) |
[mcs] Extended pragma warning syntax
Diffstat (limited to 'mcs/tests/test-908.cs')
-rw-r--r-- | mcs/tests/test-908.cs | 14 |
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 |