diff options
author | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2001-10-03 17:01:18 +0400 |
---|---|---|
committer | Ravi Pratap M <ravi@mono-cvs.ximian.com> | 2001-10-03 17:01:18 +0400 |
commit | 914532ab8ac1cc13525cb0383874ae9521150639 (patch) | |
tree | b90414b43d8a85c95563e2a44df8c0ee965be8f9 /mcs/errors/cs0023.cs | |
parent | b717c0c9eb18319a24b00c2e626e02353ab7a4fd (diff) |
Added files for errors CS0019 and CS0023
svn path=/trunk/mcs/; revision=1064
Diffstat (limited to 'mcs/errors/cs0023.cs')
-rw-r--r-- | mcs/errors/cs0023.cs | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/mcs/errors/cs0023.cs b/mcs/errors/cs0023.cs new file mode 100644 index 00000000000..6a2cd5518c9 --- /dev/null +++ b/mcs/errors/cs0023.cs @@ -0,0 +1,13 @@ +// cs0023.cs : Operator ~ cannot be applied to operand of type `Foo' +// Line : 10 + +public class Foo { + + public static void Main () + { + Foo k = new Foo (); + + int i = ~ k; + + } +} |