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:
authorRavi Pratap M <ravi@mono-cvs.ximian.com>2001-10-11 20:39:44 +0400
committerRavi Pratap M <ravi@mono-cvs.ximian.com>2001-10-11 20:39:44 +0400
commit42b4b342d38494d833b16c288b1b983afcdf52ca (patch)
treead55249977e78228db31259b02e00024c049701f /mcs/tests/test-21.cs
parenta0ac5aa738a84cf395654df5059e85b059c9edef (diff)
Actually add the file this time :-)
svn path=/trunk/mcs/; revision=1144
Diffstat (limited to 'mcs/tests/test-21.cs')
-rw-r--r--mcs/tests/test-21.cs30
1 files changed, 30 insertions, 0 deletions
diff --git a/mcs/tests/test-21.cs b/mcs/tests/test-21.cs
new file mode 100644
index 00000000000..8b66229f8f4
--- /dev/null
+++ b/mcs/tests/test-21.cs
@@ -0,0 +1,30 @@
+using System;
+
+public class Blah {
+
+ public class Foo {
+
+ public Foo ()
+ {
+ Console.WriteLine ("Inside the Foo constructor now");
+ }
+
+ public void Bar ()
+ {
+ Console.WriteLine ("The Bar method");
+ }
+
+
+ }
+
+ public static void Main ()
+ {
+ Blah i = new Blah ();
+
+ Foo f = new Foo ();
+
+ f.Bar ();
+
+ }
+
+}