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:
authorMartin Baulig <martin@novell.com>2003-07-14 20:49:40 +0400
committerMartin Baulig <martin@novell.com>2003-07-14 20:49:40 +0400
commit38bbe13433263889bad9c4656f985d05a2acac97 (patch)
tree4506e9b2014ff4b7ed49811e4d0d510cddd3b622 /mcs/tests/test-203.cs
parent6872f858c1b7b6685fa88000108aa81176eafd5a (diff)
2003-07-14 Martin Baulig <martin@ximian.com>
* test-204.cs: User defined conditional logical operators; bug #40505. 2003-07-14 Martin Baulig <martin@ximian.com> * test-203.cs: Added test for bug #33026. svn path=/trunk/mcs/; revision=16226
Diffstat (limited to 'mcs/tests/test-203.cs')
-rw-r--r--mcs/tests/test-203.cs22
1 files changed, 22 insertions, 0 deletions
diff --git a/mcs/tests/test-203.cs b/mcs/tests/test-203.cs
new file mode 100644
index 00000000000..7b86db3c9d4
--- /dev/null
+++ b/mcs/tests/test-203.cs
@@ -0,0 +1,22 @@
+public enum Modifiers
+{
+ Public = 0x0001
+}
+
+class Foo
+{
+ internal Modifiers Modifiers {
+ get {
+ return Modifiers.Public;
+ }
+ }
+}
+
+class Bar
+{
+ public static int Main ()
+ {
+ System.Console.WriteLine (Modifiers.Public);
+ return 0;
+ }
+}