Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash126.C
blob: 892bc45353e570eb695da3997bf8c8545d0bd1fd [
file
] [
log
] [
blame
]
// PR c++/80186
template
<
class
T
,
class
>
struct
A
{
A
();
A
(
A
&);
A
(
A
<
T
,
T
>);
// { dg-error "3:invalid constructor" }
};
void
f
()
{
A
<
int
,
int
>
(
A
<
int
,
int
>());
// { dg-error "cannot bind" "" { target c++14_down } }
}