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
/
gtest-fixedbuffer-10.cs
blob
98e3e79efff561d7d250e8d4cdfd4d14f00015ac
1
// Compiler options: -unsafe
2
3
using
System
;
4
5
public class
Program
6
{
7
public static void
Main
()
8
{
9
new
TestStruct
(
"a"
);
10
}
11
}
12
13
public unsafe struct
TestStruct
14
{
15
private fixed byte
symbol
[
30
];
16
17
public
TestStruct
(
string
a
)
18
{
19
}
20
21
public static
TestStruct Default
{
22
get
{
23
TestStruct h
;
24
return
h
;
25
}
26
}
27
}