diff options
author | Michael Forney <mforney@mforney.org> | 2021-10-27 19:31:24 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-12-06 13:51:58 -0800 |
commit | 28961f9197c8c5356f29fffac0cc322788441759 (patch) | |
tree | 6be913ce424d5de5e117f4791fee22b5d9db2bd9 /test/alignas-multiple.c | |
parent | 8e39120d8ef8a5b8267771d2bc037dd1a95850f8 (diff) |
decl: Use strictest alignment when multiple specifiers are present
This is specified by the last sentence in C11 6.7.5p6.
Diffstat (limited to 'test/alignas-multiple.c')
-rw-r--r-- | test/alignas-multiple.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/alignas-multiple.c b/test/alignas-multiple.c new file mode 100644 index 0000000..7fc2199 --- /dev/null +++ b/test/alignas-multiple.c @@ -0,0 +1 @@ +_Alignas(8) _Alignas(4) char x; |