From 3411746ee9e93981ad0a9c28fc6e33d5d4c9bfd4 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Fri, 5 Apr 2019 11:24:08 -0700 Subject: Fix _Alignas with type specifier --- tests/alignas.c | 1 + tests/alignas.qbe | 1 + 2 files changed, 2 insertions(+) create mode 100644 tests/alignas.c create mode 100644 tests/alignas.qbe (limited to 'tests') diff --git a/tests/alignas.c b/tests/alignas.c new file mode 100644 index 0000000..394045d --- /dev/null +++ b/tests/alignas.c @@ -0,0 +1 @@ +_Alignas(int) char x[4]; diff --git a/tests/alignas.qbe b/tests/alignas.qbe new file mode 100644 index 0000000..7cf0e40 --- /dev/null +++ b/tests/alignas.qbe @@ -0,0 +1 @@ +export data $x = align 4 { z 4 } -- cgit v1.2.3