OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
/cp
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
static12.C
1
// PR c++/18470
2
3
template<typename> struct A
4
{
5
static const int i=1;
6
};
7
8
template<typename T> struct B : A<T>
9
{
10
using A<T>::i;
11
char s[i]; // fails
12
char t[A<T>::i]; // compiles
13
};