projects
/
mono.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[corlib] A few XI-internal functions have been renamed; use the new names.
[mono.git]
/
mcs
/
tests
/
test-392.cs
1
public struct C
2
{
3
struct S
4
{
5
public int i;
6
public S (int i)
7
{
8
this.i = i;
9
}
10
}
11
12
static S[] s;
13
14
int Test ()
15
{
16
int i = 0;
17
s = new S [1];
18
if (s.Length > 0)
19
s [i++] = new S (10);
20
21
if (s [0].i != 10)
22
return 1;
23
24
return 0;
25
}
26
27
public static int Main ()
28
{
29
return new C().Test ();
30
}
31
}