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
/
foreach-next-missing-get.test
blob
3cb75d98c16e1863708fbc073199eac2ab104c6a
1
Invalid Code
2
3
public class Iterator<G> {
4
public bool next () {
5
return true;
6
}
7
}
8
9
public class Test<G> {
10
public Iterator<G> iterator () {
11
return new Iterator<G> ();
12
}
13
}
14
15
void main () {
16
Test<string?> test = null;
17
foreach (var t in test) {
18
}
19
}