summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/a.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/a.c b/test/a.c
new file mode 100644
index 0000000..745dcde
--- /dev/null
+++ b/test/a.c
@@ -0,0 +1,11 @@
+#include <stdio.h>
+
+struct aaa {
+ int a;
+ void* b;
+} __attribute__((__aligned__(8)));
+
+int main()
+{
+ printf("%lu\n", sizeof(struct aaa) - sizeof(int));
+} \ No newline at end of file