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
/
error22.C
blob
d793fe4df89ccef29d5f980d3afd60360a01a5e7
1
//PR c++/27821
2
3
struct A
4
{
5
template<void (A::*)()> struct B {};
6
void ::foo(); // { dg-error "invalid use" }
7
B<&A::foo> b; // { dg-error "incomplete type|template argument" }
8
};
9