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