blob: 080d21b41eaf8a18471fce56c8766d8716180f1a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
// { dg-options "-w -ansi -pedantic-errors -fsigned-bitfields" }
#include "bitfield1.h"
extern void bitfield1_y (A& a);
void bitfield1_x ()
{
A a;
a.bitS = 1;
a.bitU = 1;
a.bit = 1;
bitfield1_y (a);
}
|