summaryrefslogtreecommitdiff
path: root/cmake/vla.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/vla.c')
-rw-r--r--cmake/vla.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/cmake/vla.c b/cmake/vla.c
new file mode 100644
index 0000000..05b2119
--- /dev/null
+++ b/cmake/vla.c
@@ -0,0 +1,7 @@
+int main() {
+ static int x;
+ char a[++x];
+ a[sizeof a - 1] = 0;
+ int N;
+ return a[0];
+} \ No newline at end of file