Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
constructor2.C
blob: d620f41e0279d469caafb3c79fe3a69164c88d54 [
file
] [
log
] [
blame
]
// PR c++/14260
template
<
class
TClass
>
class
T
{
public
:
T
(
short
,
short
f
=
0
)
{}
T
<
TClass
>(
int
f
)
{}
// { dg-error "expected" "" { target c++20 } }
T
<
TClass
>(
int
f
=
0
,
const
char
*
b
=
0
)
{}
// { dg-error "expected" "" { target c++20 } }
};