repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash35.C
blob
dd8aa2f0906a95f33b715a88c95dd1d91c99a9c9
1
// PR c++/20463
2
// { dg-do compile }
3
4
template <typename T> struct C; // { dg-error "declaration" }
5
6
template <typename T> void C<T>::f() // { dg-error "invalid|template" }
7
{
8
const foo bar; // { dg-error "name a type" }
9
}