Sign in
gnu
/
gcc
/
cd2fd5facb5e1882d3f338ed456ae9536f7c0593
/
.
/
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 "" }