aboutsummaryrefslogtreecommitdiff
path: root/test/alignas-vla-strict.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/alignas-vla-strict.c')
-rw-r--r--test/alignas-vla-strict.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/alignas-vla-strict.c b/test/alignas-vla-strict.c
new file mode 100644
index 0000000..0f5a326
--- /dev/null
+++ b/test/alignas-vla-strict.c
@@ -0,0 +1,5 @@
+int n = 43;
+int main(void) {
+ char alignas(64) a[n];
+ return (unsigned long)a % 64;
+}