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
/
delegates
/
delegates-error.test
blob
8d2a3adc333d509f9d8ae7c2b322d2e31d6ed51b
1
Invalid Code
2
3
delegate void FooFunc () throws Error;
4
5
void foo (FooFunc func) {
6
try {
7
func ();
8
} catch (Error e) {
9
}
10
}
11
12
void bar_func () {
13
}
14
15
void main () {
16
foo (bar_func);
17
}