summaryrefslogtreecommitdiff
path: root/tests/semantic/foreach-next-void.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/semantic/foreach-next-void.test')
-rw-r--r--tests/semantic/foreach-next-void.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/semantic/foreach-next-void.test b/tests/semantic/foreach-next-void.test
index a5152f624..c6198b0d4 100644
--- a/tests/semantic/foreach-next-void.test
+++ b/tests/semantic/foreach-next-void.test
@@ -13,7 +13,7 @@ public class Test<G> {
}
void main () {
- Test test;
+ Test<string?> test = null;
foreach (var t in test) {
}
}