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
/
bug623092.vala
blob
4bc1dcbc225243168aac0bfb2da1afb9076ca2b5
1
public struct
Foo
{
2
public
int
bar
;
3
public
Foo
(
int
bar
) {
4
this
.
bar
=
bar
;
5
}
6
}
7
8
public
Foo
make_foo
(
int
bar
) {
9
return
Foo
(
bar
);
10
}
11
12
void
main
() {
13
var
foo
=
Foo
(
10
);
14
assert
(
foo
==
make_foo
(
10
));
15
}