llvm-project/clang/test/CodeGen/2009-03-22-increment-bitfie...

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;
}