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
Release 0.41.92
[vala-gnome.git]
/
tests
/
structs
/
bug603056.vala
blob
d4646b1ac595d01304ad7a1bf2d71adc7a916e49
1
public struct
Foo
{
2
uint8
param
;
3
}
4
5
void
main
() {
6
bool
b
=
true
;
7
var
foo
=
Foo
() {
param
=
b ?
10
:
20
};
8
assert
(
foo
.
param
==
10
);
9
}