repo.or.cz
/
mono-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[interp] Reduce computation under calc_section mutex
[mono-project.git]
/
mcs
/
tests
/
test-readonly-03.cs
blob
14cb958b41a2acbb06fd53717c43b511dba07524
1
// Compiler options: -langversion:latest
2
using
System
;
3
4
readonly struct
S
5
{
6
static
S shared
=
new
S
();
7
8
public
S
(
int
arg
)
9
{
10
this
=
shared
;
11
}
12
13
public static void
Main
()
14
{
15
}
16
}