diff options
author | Alejandro Sánchez Acosta <asanchez@mono-cvs.ximian.com> | 2002-12-02 02:57:15 +0300 |
---|---|---|
committer | Alejandro Sánchez Acosta <asanchez@mono-cvs.ximian.com> | 2002-12-02 02:57:15 +0300 |
commit | fc8cfc0e64975704ca17a420624d35c4cc52faed (patch) | |
tree | 19c827c3f6e1edb6b3cf1959e70dc9794825a315 /mcs/errors/cs0140.cs | |
parent | ebe6e144bc4428ffbcb5e52d2177d8b0d28fdec4 (diff) |
Added new tests.
svn path=/trunk/mcs/; revision=9324
Diffstat (limited to 'mcs/errors/cs0140.cs')
-rw-r--r-- | mcs/errors/cs0140.cs | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/mcs/errors/cs0140.cs b/mcs/errors/cs0140.cs new file mode 100644 index 00000000000..03a2fc55af2 --- /dev/null +++ b/mcs/errors/cs0140.cs @@ -0,0 +1,17 @@ +// cs0140: A duplicated Label. +// Line: 11 + +namespace cs0140Test +{ + public class A + { + static int Main () + { + L1: int a=0; + L1: a++; + if (a < 3) + goto L1; + return 0; + } + } +} |