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
/
initially-unowned.vala
blob
f576b2fb4f37d8a5e6214fd0dcbb2bc27d935bd7
1
class
Foo
:
Object
{
2
public
string
foo
{
get
;
construct
; }
3
}
4
5
void
main
() {
6
Foo foo
;
7
8
foo
= (
Foo
)
Object
.
@
new
(
typeof
(
Foo
),
"foo"
,
"foo.initially"
);
9
assert
(
foo
.
foo
==
"foo.initially"
);
10
}