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
/
vt-34919.C
blob
5b106e187cf662ff2f28b047c597e75e58f8864b
1
// { dg-do compile { target c++11 } }
2
template<int... N> struct A
3
{
4
static void foo()
5
{
6
int i = N; // { dg-error "not expanded|N" }
7
}
8
};
9
10
void bar()
11
{
12
A<0>::foo();
13
}