aboutsummaryrefslogtreecommitdiff
path: root/test/vla-deref.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/vla-deref.c')
-rw-r--r--test/vla-deref.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/vla-deref.c b/test/vla-deref.c
new file mode 100644
index 0000000..7a5cd20
--- /dev/null
+++ b/test/vla-deref.c
@@ -0,0 +1,4 @@
+int main(void) {
+ int l = 3;
+ char a[*&l];
+}