Debian Codegraph @

gcc/testsuite/g++.dg/template/using28.C

raw
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>;