summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/compat/break/bitfield7_x.C
blob: 9b2a622a5ea623c37940aa1798b762cfcb566341 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-options "-w" }

#include "bitfield7.h"

extern void bitfield7_y (U*);

void bitfield7_x ()
{
  U u[2];

  u[0].i = 7;
  u[1].i = 8;

  bitfield7_y (u);
}