diff options
author | Miguel de Icaza <miguel@gnome.org> | 2002-01-16 04:38:39 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2002-01-16 04:38:39 +0300 |
commit | 9bc926dcd1586244560d8aa6ae449f5fd118ac24 (patch) | |
tree | e68a7f487316e58f51aaa3a41ab03b4e8e0777d7 /mcs/errors/cs1523.cs | |
parent | 20bce169fa09b4b8f7cea78bc7d0c3d0a733e45c (diff) |
Add more errors that we handle now
svn path=/trunk/mcs/; revision=1997
Diffstat (limited to 'mcs/errors/cs1523.cs')
-rwxr-xr-x | mcs/errors/cs1523.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs1523.cs b/mcs/errors/cs1523.cs new file mode 100755 index 00000000000..fda07fd98f6 --- /dev/null +++ b/mcs/errors/cs1523.cs @@ -0,0 +1,14 @@ +// cs1523: case or default must precede code in switch statement +// Line: 11 + +class X { + + static void Main () + { + int i = 0; + + switch (i){ + i = 4; + } + } +} |