1 | // RUN: %clang_cc1 %s -emit-llvm -o - |
---|---|
2 | |
3 | typedef double Al1Double __attribute__((aligned(1))); |
4 | struct x { int a:23; Al1Double v; }; |
5 | struct x X = { 5, 3.0 }; |
6 | double foo() { return X.v; } |
7 | |
8 |
1 | // RUN: %clang_cc1 %s -emit-llvm -o - |
---|---|
2 | |
3 | typedef double Al1Double __attribute__((aligned(1))); |
4 | struct x { int a:23; Al1Double v; }; |
5 | struct x X = { 5, 3.0 }; |
6 | double foo() { return X.v; } |
7 | |
8 |