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