blob: 52f68cfe467b9a7e4976d61703ed1e5c49b11b8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
// PR c++/37140
struct C
{
static const int block_size = 1;
};
template <typename T> struct A {
typedef C type;
};
template <typename T> struct B : public A<T> {
using typename A<T>::type;
static const int block_size = type::block_size;
};
template class B<int>;
|