diff options
author | Marek Safar <marek.safar@gmail.com> | 2006-12-19 01:11:48 +0300 |
---|---|---|
committer | Marek Safar <marek.safar@gmail.com> | 2006-12-19 01:11:48 +0300 |
commit | d80f85681383adc546be6e8f647867013821532b (patch) | |
tree | 26f88c0319f153acd8c298bd5d5d9667068b4d2f /mcs/tests/test-547.cs | |
parent | b7d1ef5e92f007ad0811ab2046de3b99541084ce (diff) |
New test.
svn path=/trunk/mcs/; revision=69695
Diffstat (limited to 'mcs/tests/test-547.cs')
-rw-r--r-- | mcs/tests/test-547.cs | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mcs/tests/test-547.cs b/mcs/tests/test-547.cs new file mode 100644 index 00000000000..c81ef45c8bc --- /dev/null +++ b/mcs/tests/test-547.cs @@ -0,0 +1,27 @@ +// Compiler options: -warn:4 -define:A1 +// This test should print only: #warning: `A1' + +#if A1 +# warning A1 +#elif A2 +# error A2 +# if B2 +# error A1->B2 +# define A1B2 +# else +# error A2->else +# endif +#else +# error else +#endif + +#if E1 + #error E1 +#elif E2 + #error E2 +#else + public class C +#endif + { + static void Main () {} + }
\ No newline at end of file |