aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/abi/bitfield9.C
blob: 0d3a8bf89858e4f348c2256281f90adf82096991 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// { dg-do run { target i?86-*-* x86_64-*-* } }
// { dg-require-effective-target ilp32 }
// { dg-options -w }

struct X {
  char : 45;
};

int main () {
  if (__alignof__ (X) != 4)
    return 1;
}