aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/break/bitfield7_y.C
blob: 916d150d537e9582d6f1e7a8a61bf7b0ddaa6a9b (plain)
1
2
3
4
5
6
7
8
9
10
11
extern "C" void abort (void);

#include "bitfield7.h"

void bitfield7_y (U* u)
{
  if (u[0].i != 7)
    abort ();
  if (u[1].i != 8)
    abort ();
}