diff options
author | Miguel de Icaza <miguel@gnome.org> | 2001-06-08 22:45:34 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2001-06-08 22:45:34 +0400 |
commit | 773a66abc5e63cc1d2f111daeaa2848891dc8f61 (patch) | |
tree | 94b8548e3b0efd4c276a7cc66d783c1cbf0b5038 /mcs/errors/cs0165-2.cs |
Initial revisionINITIAL_IMPORT
svn path=/trunk/mcs/; revision=2
Diffstat (limited to 'mcs/errors/cs0165-2.cs')
-rwxr-xr-x | mcs/errors/cs0165-2.cs | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mcs/errors/cs0165-2.cs b/mcs/errors/cs0165-2.cs new file mode 100755 index 00000000000..3d0d3a9e2af --- /dev/null +++ b/mcs/errors/cs0165-2.cs @@ -0,0 +1,16 @@ +class T {
+ void fun (ref int a)
+ {
+ if (a == 3)
+ a = 2;
+ }
+
+ void x ()
+ {
+ int x;
+
+ if (System.Console.Read () == 1)
+ x = 1;
+ fun (ref x);
+ }
+}
|