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
/
static23.C
blob
b28400a64d2fb6160054ae9903babe5c8e6102eb
1
// PR c++/26266
2
3
template<typename> struct A
4
{
5
static const int i = 1;
6
};
7
8
template<typename> struct B
9
{
10
static const int j = A<char>::i;
11
static const int k = int(j);
12
int x[k];
13
};
14
15
B<char> b;