Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
defaulted46.C
blob: d4562c95903514fbfbe15335e1b423c4067fdcb2 [
file
] [
log
] [
blame
]
// { dg-require-effective-target c++11 }
struct
A
{
protected
:
A
()
=
default
;
int
i
;
};
struct
B
:
A
{
B
()
=
default
;
};
int
main
()
{
B
();
}