Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
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
{};
}