freebsd-dev/test/CodeGen/2009-03-22-increment-bitfield.c
2010-01-01 10:34:51 +00:00

8 lines
123 B
C

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