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
vapi: Update GIR-based bindings
[vala-gnome.git]
/
tests
/
chainup
/
struct-this.vala
blob
1619e04428dd3064f6fd895c364aa532842f2272
1
public struct
Foo
{
2
public
int
i
;
3
public
int
j
;
4
public
Foo
() {
5
j
=
1
;
6
}
7
public
Foo
.
bar
() {
8
this
();
9
i
=
1
;
10
}
11
}
12
13
void
main
() {
14
var
foo
=
Foo
.
bar
();
15
assert
(
foo
.
i
==
1
);
16
assert
(
foo
.
j
==
1
);
17
}