repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
error51.C
blob
304a13a70fb00ed23e618085f41a9dd2c736d788
1
// PR c++/26572
2
3
template<int> void foo()
4
{
5
struct A; // { dg-message "declaration" }
6
struct B : A {}; // { dg-error "invalid use of incomplete" }
7
}
8
9
template void foo<0>();