summaryrefslogtreecommitdiff
path: root/tests/foreach/collection-missing-type.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/foreach/collection-missing-type.test')
-rw-r--r--tests/foreach/collection-missing-type.test8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/foreach/collection-missing-type.test b/tests/foreach/collection-missing-type.test
new file mode 100644
index 000000000..d9e84c6b7
--- /dev/null
+++ b/tests/foreach/collection-missing-type.test
@@ -0,0 +1,8 @@
+Invalid Code
+
+void main () {
+ GLib.List test;
+ foreach (var t in test) {
+
+ }
+}