aboutsummaryrefslogtreecommitdiff
path: root/test/alignas-member.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/alignas-member.c')
-rw-r--r--test/alignas-member.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/alignas-member.c b/test/alignas-member.c
new file mode 100644
index 0000000..965e42a
--- /dev/null
+++ b/test/alignas-member.c
@@ -0,0 +1,4 @@
+struct {
+ int x;
+ _Alignas(32) char s[32];
+} s = {123, "abc"};