summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.brendan/bit-fields1.C
blob: 9ff4c5d864a8e28311b2ba0bb644e5623a9ff3ab (plain)
1
2
3
4
5
// { dg-do assemble  }
// GROUPS passed bit-fields
struct bar {
  int : 2 = 1;// { dg-error "" } .*
};