summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/other/bitfield6.C
blob: c1e8a17989b596459eb96465c3459e940342eed0 (plain)
1
2
3
4
5
6
7
8
9
// PR c++/81607

int a;

struct b {
  long c : 32;
} d;

char f = (903092 ? int(d.c) : 0) << a;