diff options
Diffstat (limited to 'mcs/errors/cs0284.cs')
-rwxr-xr-x | mcs/errors/cs0284.cs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/mcs/errors/cs0284.cs b/mcs/errors/cs0284.cs new file mode 100755 index 00000000000..7d867e57120 --- /dev/null +++ b/mcs/errors/cs0284.cs @@ -0,0 +1,9 @@ +// cs0284.cs: Can not create array with negative size +// Line: 7 + +class X { + static void Main () + { + int [] x = new int [-4]; + } +} |