Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
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 } }
};