Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.old-deja
/
g++.pt
/
explicit21.C
blob: 8d22f3ec2fc6fa445260b9de3dc2f1c92dc5b5d4 [
file
] [
log
] [
blame
]
// { dg-do assemble }
// GROUPS passed templates
template
<
class
T
>
T foo
(
T
*
t
);
template
<>
int
foo
<char>
(
char
c
);
// { dg-error "" } does not match declaration.
template
<>
int
bar
<char>
();
// { dg-error "" } no template bar.