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
2009-05-13 Jb Evain <jbevain@novell.com>
[mcs.git]
/
errors
/
cs0283-2.cs
blob
5101b111b3e5d755e0221f78dabd39ce84bbd706
1
// cs0283-2.cs: The type `S' cannot be declared const
2
// Line: 12
3
4
struct
S
5
{
6
}
7
8
class
C
9
{
10
public void
Foo
()
11
{
12
const
S s
=
new
S
();
13
}
14
}