repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ipa-cp: Perform operations in the appropriate types (PR 118097)
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
template
/
using28.C
blob
52f68cfe467b9a7e4976d61703ed1e5c49b11b8d
1
// PR c++/37140
2
3
struct C
4
{
5
static const int block_size = 1;
6
};
7
8
template <typename T> struct A {
9
typedef C type;
10
};
11
12
template <typename T> struct B : public A<T> {
13
using typename A<T>::type;
14
static const int block_size = type::block_size;
15
};
16
17
template class B<int>;