Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
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 } }
}