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
[metadata] Fix leaks when handling a few attributes (#16675)
[mono-project.git]
/
mcs
/
tests
/
test-731.cs
blob
0041d9405bcfc02ee4dee325c92ceeb7e1adee65
1
using
System
;
2
3
// Static array initializers test
4
5
enum
S
6
{
7
Foo
=
5
8
}
9
10
class
C
11
{
12
public static int
Main
()
13
{
14
S
[]
s
=
new
S
[]
{ S.Foo, S.Foo, S.Foo, S.Foo, S.Foo, S.Foo, S.Foo, S.Foo, S.Foo, S.Foo, S.Foo, S.Foo }
;
15
Console
.
WriteLine
(
s
[
5
]);
16
17
return
0
;
18
}
19
}