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>2009-09-04 19:00:02 +0400
committerMarek Safar <marek.safar@gmail.com>2009-09-04 19:00:02 +0400
commit170a1b14ad771852da1f927b84af1825774508d8 (patch)
tree1d896811203fc14f0898d443d18ac6a3409f8037 /mcs/errors
parentc7adf50fbad3a1fcfe420e7418ae056dfc38aae4 (diff)
New test.
svn path=/trunk/mcs/; revision=141332
Diffstat (limited to 'mcs/errors')
-rw-r--r--mcs/errors/cs0153-2.cs9
-rw-r--r--mcs/errors/cs0153.cs5
2 files changed, 12 insertions, 2 deletions
diff --git a/mcs/errors/cs0153-2.cs b/mcs/errors/cs0153-2.cs
new file mode 100644
index 00000000000..b7672fb4a9a
--- /dev/null
+++ b/mcs/errors/cs0153-2.cs
@@ -0,0 +1,9 @@
+// CS0153: A goto case is only valid inside a switch statement
+// Line: 7
+
+class X {
+ void Main ()
+ {
+ goto case 5;
+ }
+}
diff --git a/mcs/errors/cs0153.cs b/mcs/errors/cs0153.cs
index 139fa9a9a73..f50f1d55714 100644
--- a/mcs/errors/cs0153.cs
+++ b/mcs/errors/cs0153.cs
@@ -1,5 +1,6 @@
-// cs0153.cs: A goto case is only valid inside a switch statement
-// Line:
+// CS0153: A goto case is only valid inside a switch statement
+// Line: 7
+
class X {
void Main ()
{