Sign in
gnu
/
gcc
/
d769c5040874bf9546f2524f3f1d2a894165f92a
/
.
/
gcc
/
testsuite
/
g++.dg
/
parse
/
template19.C
blob: fba4f6d0bf2091a0642339b9a2c8377538a08815 [
file
] [
log
] [
blame
]
// PR c++/26558
// Origin: Jan Gorski <slimak@yk74.internetdsl.tpnet.pl>
// { dg-do compile }
template
<int>
struct
A
{
template
<int>
void
foo
()
{
foo
<
0
>::;
// { dg-error "before|function template-id" }
}
};