repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash58.C
blob
af2172c67326a71bcd1825c6cae1ce2d1927a399
1
//PR 26938
2
3
template<int, int = 0> struct A; // { dg-error "previous declaration" }
4
5
template<int> struct A // { dg-error "template" }
6
{
7
A();
8
};
9
10
A<0> a; // { dg-error "incomplete type" }