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
/
cpp0x
/
pr31443.C
blob
3169312fc3a908452b5a969d2f9d5deb0a0f31b8
1
// { dg-do compile { target c++11 } }
2
3
template<int, typename... T> struct A
4
{
5
template<int N> void foo(A<N,T>); // { dg-error "parameter packs|T" }
6
};
7
8
void bar()
9
{
10
A<0,int>().foo(A<0,int>()); // { dg-error "no member named" }
11
}