Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
pr93905.C
blob: 81c6266a795a599ae9c8c03bec9364837532b912 [
file
] [
log
] [
blame
]
// PR c++/93905
// { dg-do compile { target c++11 } }
enum
class
E
{
VALUE
};
struct
B
{
E e
{
E
::
VALUE
};
protected
:
~
B
()
=
default
;
};
struct
D
:
B
{};
int
main
()
{
D d
{};
}