summaryrefslogtreecommitdiff
path: root/tests/arrays
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2020-02-01 16:29:59 +0100
committerRico Tzschichholz <ricotz@ubuntu.com>2020-02-01 16:39:51 +0100
commitfffba4519f94cf3a01b574390f8a748767b9094c (patch)
tree5cd15a47dc4941f6a73fdaf48c827a40c4b7ff38 /tests/arrays
parente336a027c3ee11a1250abd455ebadd5b32a4756a (diff)
downloadvala-fffba4519f94cf3a01b574390f8a748767b9094c.tar.gz
codegen: Explicitly include header for length-type of arrays
Diffstat (limited to 'tests/arrays')
-rw-r--r--tests/arrays/length-type-include.vala3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/arrays/length-type-include.vala b/tests/arrays/length-type-include.vala
new file mode 100644
index 000000000..63e2ad2dd
--- /dev/null
+++ b/tests/arrays/length-type-include.vala
@@ -0,0 +1,3 @@
+void main () {
+ unowned void*[] foo = null;
+}