Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
overload
/
defarg9.C
blob: 401fe0e324c4d7b9aebb8879443a239333b3c4e4 [
file
] [
log
] [
blame
]
// PR c++/62115
struct
A
{};
struct
B
:
A
{};
struct
C
{
C
(
A
&
a
=
B
())
{}
// { dg-error "rvalue" }
};
C c
;
// { dg-error "" }