diff options
author | Miguel de Icaza <miguel@gnome.org> | 2002-01-16 04:38:39 +0300 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2002-01-16 04:38:39 +0300 |
commit | 9bc926dcd1586244560d8aa6ae449f5fd118ac24 (patch) | |
tree | e68a7f487316e58f51aaa3a41ab03b4e8e0777d7 /mcs/errors/cs1510.cs | |
parent | 20bce169fa09b4b8f7cea78bc7d0c3d0a733e45c (diff) |
Add more errors that we handle now
svn path=/trunk/mcs/; revision=1997
Diffstat (limited to 'mcs/errors/cs1510.cs')
-rwxr-xr-x | mcs/errors/cs1510.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs1510.cs b/mcs/errors/cs1510.cs new file mode 100755 index 00000000000..4feba3810f6 --- /dev/null +++ b/mcs/errors/cs1510.cs @@ -0,0 +1,13 @@ +// cs1510: an lvalue is required for ref or out argument +// Line: 11 +class X { + public static void m (ref int i) + { + i++; + } + + static void Main () + { + m (ref 4); + } +} |