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-05-09 12:30:08 +0400
committerMarek Safar <marek.safar@gmail.com>2005-05-09 12:30:08 +0400
commit0bd401f5aa61d44b66f05d9b62479cae9ac7b0d7 (patch)
tree0c10757e7e57a4f265eab43df5703840026b01ba /mcs/errors/cs0133-3.cs
parent1a30b5adcbecf1e0abd493f2eb5467b27de9d4cd (diff)
new test
svn path=/trunk/mcs/; revision=44251
Diffstat (limited to 'mcs/errors/cs0133-3.cs')
-rw-r--r--mcs/errors/cs0133-3.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/mcs/errors/cs0133-3.cs b/mcs/errors/cs0133-3.cs
new file mode 100644
index 00000000000..cfd55bc0c13
--- /dev/null
+++ b/mcs/errors/cs0133-3.cs
@@ -0,0 +1,10 @@
+// cs0133.cs: The expression being assigned to 'Foo' must be constant
+// Line: 12
+
+class T
+{
+ public void FooBar ()
+ {
+ const string Foo = Foo;
+ }
+}