repo.or.cz
/
official-gcc
/
graphite-test-results.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge from mainline (167278:168000).
[official-gcc/graphite-test-results.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
typename17.C
blob
748b1f7ab1891549bc1213ab184908953ccf71bb
1
// { dg-do compile }
2
3
// This should fail as A::foo<0> is not a typename at all.
4
struct A
5
{
6
template<int> void foo(int i)
7
{
8
typename A::foo<0>(i1); // { dg-error "" }
9
}
10
};