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>2008-12-18 22:01:46 +0300
committerMarek Safar <marek.safar@gmail.com>2008-12-18 22:01:46 +0300
commit13a1ecedef1ea1e502195b54acfe10097c0b804a (patch)
treee5b0b681e330c114b10f1bb9dc5898b22e72951d /mcs/tests/gtest-433.cs
parentbfa7bdf029f829fb7fcf0656799060d51eb966f3 (diff)
New tests.
svn path=/trunk/mcs/; revision=121799
Diffstat (limited to 'mcs/tests/gtest-433.cs')
-rw-r--r--mcs/tests/gtest-433.cs21
1 files changed, 21 insertions, 0 deletions
diff --git a/mcs/tests/gtest-433.cs b/mcs/tests/gtest-433.cs
new file mode 100644
index 00000000000..dd7ac8f0ba2
--- /dev/null
+++ b/mcs/tests/gtest-433.cs
@@ -0,0 +1,21 @@
+// Compiler options: -r:gtest-433-lib.dll
+
+using C1 = Blah.Class1;
+using C2 = Blah.Class2;
+using Cit = Blah.Class2.Citrus;
+
+public class M
+{
+ static void Main()
+ {
+ // access an internal type
+ C1 a = new C1();
+ a.Test();
+
+ C2 b = new C2();
+ // access an internal member of a public type
+ b.Test();
+
+ Cit.Lime.ToString ();
+ }
+}