freebsd-dev/test/CodeGen/2009-03-22-increment-bitfield.c
2009-06-02 17:58:47 +00:00

8 lines
121 B
C

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