summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/2009-03-22-increment-bitfield.c
blob: f0aaafda60ea9af8f43149736934c89f7f4296e7 (plain)
1
2
3
4
5
6
7
// RUN: clang-cc -emit-llvm -O1 < %s | grep "ret i32 0"

int a(void) {
  return ++(struct x {unsigned x : 2;}){3}.x;
}


OpenPOWER on IntegriCloud