diff options
author | Marek Safar <marek.safar@gmail.com> | 2013-03-20 22:27:43 +0400 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2013-03-20 22:27:43 +0400 |
commit | 2e6a2a4454d8aa2fbeee89c0e8152e5831910397 (patch) | |
tree | f93342bbbf2cc37feb9a3d57192e7d6e9f24d955 /mcs/tests/test-476.cs | |
parent | 85639aee6d458748a864b94b0992fdd581ac05fa (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.cs | 5 |
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 + "; } } |