diff options
author | Miguel de Icaza <miguel@gnome.org> | 2003-04-18 17:51:39 +0400 |
---|---|---|
committer | Miguel de Icaza <miguel@gnome.org> | 2003-04-18 17:51:39 +0400 |
commit | 58cd257abe9c21dd82869b81967e8eadcd9fea12 (patch) | |
tree | 15e372f3180ed5fb7ebd8bedaaca1381de153b0b /mcs/errors/cs0568.cs | |
parent | ff3b76bd2fd1ec79d7538f0645746a8c3a71f3f8 (diff) |
Add two errors
svn path=/trunk/mcs/; revision=13763
Diffstat (limited to 'mcs/errors/cs0568.cs')
-rw-r--r-- | mcs/errors/cs0568.cs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mcs/errors/cs0568.cs b/mcs/errors/cs0568.cs new file mode 100644 index 00000000000..eea98b27e85 --- /dev/null +++ b/mcs/errors/cs0568.cs @@ -0,0 +1,14 @@ +// cs0568.cs: struct can not contain an explicit parameterless constructor +// Line: 5 +struct A { + int a; + A () { a = 1; } +} + +class D { + static void Main () + { + A [] a = new A [10]; + + } +} |