Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
overload
/
bit-field1.C
blob: 318caaaeb6576fa799fe7bffd792de65815ed156 [
file
] [
log
] [
blame
]
// PR c++/92859
// { dg-do compile { target c++11 } }
void
f
(
int
)
=
delete
;
struct
ES
{
enum
E
{
v
};
friend
void
f
(
E
)
{
}
};
struct
S
{
ES
::
E e
:
1
;
};
int
main
()
{
S s
{};
f
(
s
.
e
);
}