summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/break/bitfield5_y.C
blob: 6ee4dd0089dc5647ec751496eb500f7852ca34bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
extern "C" void abort (void);

#include "bitfield5.h"

void A::f () {}

void bitfield5_y (B& b)
{
  if (b.f3 != 7)
    abort ();
  if (b.f4 != 3)
    abort ();
}