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:
authorMiguel de Icaza <miguel@gnome.org>2002-07-02 23:28:50 +0400
committerMiguel de Icaza <miguel@gnome.org>2002-07-02 23:28:50 +0400
commitce8ced4e55b4d70185693d38dbb6d92c448e829d (patch)
tree08114e19c53207148012b6ff96436a62349ed833 /mcs/tests/test-139.cs
parent2bee64eb49cd3751bf6d1d5579efc4e3f328113d (diff)
Add new test
svn path=/trunk/mcs/; revision=5554
Diffstat (limited to 'mcs/tests/test-139.cs')
-rwxr-xr-xmcs/tests/test-139.cs25
1 files changed, 25 insertions, 0 deletions
diff --git a/mcs/tests/test-139.cs b/mcs/tests/test-139.cs
new file mode 100755
index 00000000000..a6323609406
--- /dev/null
+++ b/mcs/tests/test-139.cs
@@ -0,0 +1,25 @@
+struct T {
+ int val;
+ void one () {
+ two (this);
+ }
+ void two (T t) {
+ this = t;
+ }
+ void three (ref T t) {
+ two (t);
+ }
+ static int Main()
+ {
+ T t;
+
+ t.one ();
+ return 0;
+ }
+}
+
+
+
+
+
+