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
/
semantic
/
class-compact-property-baseaccess.test
blob
967baf343e596a392e5403a336e1114ffebad756
1
Invalid Code
2
3
[Compact]
4
public class Foo {
5
public int field = 23;
6
public virtual int prop {
7
get { return field; }
8
}
9
}
10
11
[Compact]
12
public class Bar : Foo {
13
public override int prop {
14
get { return base.prop; }
15
}
16
}
17
18
void main () {
19
}