aboutsummaryrefslogtreecommitdiff
path: root/test/alignas-local.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/alignas-local.c')
-rw-r--r--test/alignas-local.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/alignas-local.c b/test/alignas-local.c
new file mode 100644
index 0000000..e1a8667
--- /dev/null
+++ b/test/alignas-local.c
@@ -0,0 +1,4 @@
+int main(void) {
+ _Alignas(16) char x;
+ return (unsigned long)&x % 16;
+}