Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
enum14.C
blob: 2be758db350a4721ba8b646940675ce2bd1ced95 [
file
] [
log
] [
blame
]
// PR c++/48106
// { dg-do compile { target c++11 } }
enum
class
E
:
char
{
e
};
bool
operator
&(
E e
,
char
m
)
{
return
static_cast
<int>
(
e
)
&
m
;
}