llvm-for-llvmta/tools/clang/test/CodeGen/2008-01-21-PackedBitFields.c
Nils Hölscher 7f403f4f1e added clang
2022-04-25 13:02:35 +02:00

8 lines
185 B
C

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