repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
compat
/
abi
/
bitfield2_y.C
blob
55edab5cbfe63e855f02a1602985cfeb0d079831
1
// { dg-options "-ansi -pedantic-errors -fsigned-bitfields" }
2
3
extern "C" void abort (void);
4
5
#include "bitfield1.h"
6
7
void bitfield1_y (A& a)
8
{
9
if (a.bitS != -1)
10
abort ();
11
if (a.bitU != 1)
12
abort ();
13
if (a.bit != -1)
14
abort ();
15
}