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
/
objects
/
bug779219.vala
blob
c0c4baab0b7346f2d3208415617172dd883f8ae3
1
interface
IFoo
:
GLib
.
Object
{
2
public abstract
int
foo
{
get
; }
3
}
4
5
abstract class
Foo
:
GLib
.
Object
,
IFoo
{
6
public abstract
int
foo
{
get
; }
7
}
8
9
class
Bar
:
Foo
{
10
public override
int
foo
{
get
{
return
42
; } }
11
public
Bar
() {
12
}
13
}
14
15
void
main
() {
16
var
bar
=
new
Bar
();
17
assert
(
bar
.
foo
==
42
);
18
}