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>2013-03-20 22:27:43 +0400
committerMarek Safar <marek.safar@gmail.com>2013-03-20 22:27:43 +0400
commit2e6a2a4454d8aa2fbeee89c0e8152e5831910397 (patch)
treef93342bbbf2cc37feb9a3d57192e7d6e9f24d955 /mcs/tests/test-476.cs
parent85639aee6d458748a864b94b0992fdd581ac05fa (diff)
define/undefine position errros are not reported when excluded from compiletion. Fixes #11292
Diffstat (limited to 'mcs/tests/test-476.cs')
-rw-r--r--mcs/tests/test-476.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/mcs/tests/test-476.cs b/mcs/tests/test-476.cs
index 60787efbfa9..e05993a5f03 100644
--- a/mcs/tests/test-476.cs
+++ b/mcs/tests/test-476.cs
@@ -1,6 +1,8 @@
#if false
#line hahaha
#error
+#define X
+#undef X
#pragma warning disable 3005 // wrong directive on csc 1.x
public class Foo
{
@@ -16,6 +18,9 @@ public class Test
{
public static void Main ()
{
+ string s = @"Test string
+ #define
+ ";
}
}