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
2018-02-09 Sebastian Perta <sebastian.perta@renesas.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.brendan
/
enum12.C
blob
fab57032a2b9e829f21b7895e692010c8bb7fba0
1
// { dg-do assemble }
2
// GROUPS passed enums
3
enum Bool { False, True };
4
5
enum Bool object;
6
7
struct S
8
{
9
Bool field:1;
10
11
void copy_enum_bit_field () const { object = field; }
12
};