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
2014-01-30 Alangi Derick <alangiderick@gmail.com>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
static24.C
blob
3d8f9e326bf53d55f1415c46fe6955e60228a06f
1
template<typename> struct A;
2
3
template<> struct A<char>
4
{
5
static const char i = 1;
6
};
7
8
template<typename T> struct B
9
{
10
static const int j = A<T>::i;
11
static const int k = int(j);
12
int x[k];
13
};
14
15
B<char> b;