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
PR c++/86728 - C variadic generic lambda.
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
crash35.C
blob
c457798dd02c06420ac5088c62bcadd204e6c8a6
1
// PR c++/20463
2
// { dg-do compile }
3
4
template <typename T> struct C; // { dg-message "declaration" }
5
6
template <typename T> void C<T>::f() // { dg-error "invalid|template" }
7
{
8
const foo bar;
9
}