diff options
author | Radek Doulik <rodo@mono-cvs.ximian.com> | 2001-12-09 18:29:27 +0300 |
---|---|---|
committer | Radek Doulik <rodo@mono-cvs.ximian.com> | 2001-12-09 18:29:27 +0300 |
commit | c8f0f220a95c2fd094560bff4056197f5763bd42 (patch) | |
tree | 6128d803faea8a6ad16618ae67bdc928e5f4a60c /mcs/tests/test-55.cs | |
parent | 6a10ea4531bf57abc67ff98ec202dff3fff4f6ce (diff) |
2001-12-09 Radek Doulik <rodo@ximian.com>
* makefile (TEST_SOURCES): added test-55 for using alias directive
svn path=/trunk/mcs/; revision=1547
Diffstat (limited to 'mcs/tests/test-55.cs')
-rwxr-xr-x | mcs/tests/test-55.cs | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/mcs/tests/test-55.cs b/mcs/tests/test-55.cs new file mode 100755 index 00000000000..6058ee2a1ba --- /dev/null +++ b/mcs/tests/test-55.cs @@ -0,0 +1,33 @@ +using c = System.Console; +using s = System; + +namespace A { + namespace B { + class C { + public static void Hola () { + c.WriteLine ("Hola!"); + } + } + } +} + +namespace X { + namespace Y { + namespace Z { + class W { + public static void Ahoj () { + s.Console.WriteLine ("Ahoj!"); + } + } + } + } +} + +class App { + public static int Main () { + A.B.C.Hola (); + X.Y.Z.W.Ahoj (); + + return 0; + } +} |