repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
g++.dg
/
template
/
static12.C
blob
73becab27fd41cd119cdb46d41e650c1874da991
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
};