OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
PR c++/37819
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
expr
/
bitfield11.C
1
// PR c++/37819
2
// { dg-do compile }
3
4
struct A
5
{
6
unsigned int a : 1;
7
};
8
9
bool
10
foo (A *x, A *y)
11
{
12
x->a = y ? y->a : true;
13
}