diff options
author | Miguel de Icaza <miguel@gnome.org> | 2002-07-02 23:28:50 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2002-07-02 23:28:50 +0400 |
commit | ce8ced4e55b4d70185693d38dbb6d92c448e829d (patch) | |
tree | 08114e19c53207148012b6ff96436a62349ed833 /mcs/tests/test-139.cs | |
parent | 2bee64eb49cd3751bf6d1d5579efc4e3f328113d (diff) |
Add new test
svn path=/trunk/mcs/; revision=5554
Diffstat (limited to 'mcs/tests/test-139.cs')
-rwxr-xr-x | mcs/tests/test-139.cs | 25 |
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; + } +} + + + + + + |