repo.or.cz
/
mcs.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2010-06-21 Atsushi Enomoto <atsushi@ximian.com>
[mcs.git]
/
errors
/
cs0568.cs
blob
b255929c659c2285e37fbdcf06913d80a21f8b07
1
// cs0568.cs: Structs cannot contain explicit parameterless constructors
2
// Line: 5
3
struct
A
{
4
int
a
;
5
A
()
{ a = 1; }
6
}
7
8
class
D
{
9
static void
Main
()
10
{
11
A
[]
a
=
new
A
[
10
];
12
13
}
14
}