repo.or.cz
/
vala-gnome.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
glib-2.0: Add (u)long.parse/try_parse()
[vala-gnome.git]
/
tests
/
basic-types
/
bug644046.vala
blob
6044ffca5bb782dc07e1dba52902b222cc8a32ce
1
const
int
foo
[] = {
1
,
2
,
3
};
2
3
4
void
main
() {
5
int
baz
[] = {
3
,
4
,
5
};
6
assert
(
foo
.
length
==
3
);
7
assert
(
foo
[
1
] ==
2
);
8
assert
(
baz
.
length
==
3
);
9
assert
(
baz
[
1
] ==
4
);
10
}