llvm-for-llvmta/tools/clang/test/CodeGen/2009-03-22-increment-bitfie...

8 lines
123 B
C
Raw Normal View History

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