repo.or.cz
/
vala-lang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
D-Bus: Remove extra semicolon to avoid C warning
[vala-lang.git]
/
tests
/
methods
/
bug599892.vala
blob
c1aea471294d694433c31d2567474af0d5c0936e
1
class
Foo
{
2
public static
int
bar
{
get
;
set
; }
3
4
public
void
do_foo
() {
5
int
i
=
42
;
6
bar
=
i
;
7
assert
(
bar
==
42
);
8
}
9
}
10
11
void
main
() {
12
var
foo
=
new
Foo
();
13
foo
.
do_foo
();
14
}