minix/external/bsd/llvm/dist/clang/test/CodeGen/2009-03-22-increment-bitfield.c

8 lines
123 B
C
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm -O1 < %s | grep "ret i32 0"
int a(void) {
return ++(struct x {unsigned x : 2;}){3}.x;
}