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
write static delegate instead of callback use static delegate instead of
[vala-lang.git]
/
tests
/
test-004.vala
blob
ac069e522b0c68f41fa54174325e477bc647cd94
1
using
GLib
;
2
3
class
Maman
.
Bar
{
4
public
void
do_action
() {
5
stdout
.
printf
(
" 2"
);
6
}
7
}
8
9
class
Maman
.
SubBar
:
Bar
{
10
static
int
main
(
string
[]
args
) {
11
stdout
.
printf
(
"Inheritance Test: 1"
);
12
13
var
bar
=
new
SubBar
();
14
bar
.
do_action
();
15
16
stdout
.
printf
(
" 3
\n
"
);
17
18
return
0
;
19
}
20
}