[PR c++/84702] ICE with default tmpl arg of overload set
[official-gcc.git] / gcc / testsuite / g++.dg / template / using29.C
blob8726547efdb11d099a38691a279b8d60d6aa011d
1 // PR c++/58047
3 template <int N>
4 struct print_arg { };
6 struct const_holder {
7   static const int CONSTANT = 42;
8 };
10 template <typename T>
11 struct identity {
12   typedef T type;
15 template <class T>
16 struct test_case : public identity<T> {
17   using typename identity<T>::type;
18   print_arg<type::CONSTANT> printer;
21 template struct test_case<const_holder>;