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
Update Haiku support (#15674)
[mono-project.git]
/
mono
/
tests
/
array-vt.cs
blob
5eee592e3717fddd04ffa7e2e56c4f6c4e2a6892
1
using
System
;
2
3
public struct
Test
{
4
int
a1
;
5
int
a2
;
6
7
static public int
Main
() {
8
Test
[]
tarray
=
new
Test
[
20
];
9
tarray
[
0
].
a1
=
1
;
10
tarray
[
0
].
a2
=
2
;
11
if
(
tarray
[
0
].
a1
+
tarray
[
0
].
a2
!=
3
)
12
return
1
;
13
return
0
;
14
}
15
}