Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
template
/
typename17.C
blob: 748b1f7ab1891549bc1213ab184908953ccf71bb [
file
] [
log
] [
blame
]
// { dg-do compile }
// This should fail as A::foo<0> is not a typename at all.
struct
A
{
template
<int>
void
foo
(
int
i
)
{
typename
A
::
foo
<
0
>(
i1
);
// { dg-error "" }
}
};