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>2005-03-22 14:01:33 +0300
committerMarek Safar <marek.safar@gmail.com>2005-03-22 14:01:33 +0300
commitfd45e86ed902456e1b49aff1841e1817f14df185 (patch)
tree28d9f352928a09284ef367798a1035f51f0d958a /mcs/errors/cs1717.cs
parentbdd89beefc3e33f24b3915f8e7f5b3291ab64cce (diff)
new error tests
svn path=/trunk/mcs/; revision=42096
Diffstat (limited to 'mcs/errors/cs1717.cs')
-rw-r--r--mcs/errors/cs1717.cs11
1 files changed, 11 insertions, 0 deletions
diff --git a/mcs/errors/cs1717.cs b/mcs/errors/cs1717.cs
new file mode 100644
index 00000000000..200ddfbebed
--- /dev/null
+++ b/mcs/errors/cs1717.cs
@@ -0,0 +1,11 @@
+// cs1717.cs: Assignment made to same variable; did you mean to assign something else?
+// Line: 9
+// Compiler options: -warnaserror -warn:3
+
+class A
+{
+ public A (int a)
+ {
+ a = a;
+ }
+} \ No newline at end of file