1 // PR c++/84434 ICE with deduction guide and dependent using decl
2 // { dg-do compile { target c++17 } }
4 template <typename T> class B {
6 template <typename U> B (U) {}
10 struct scope_guard : B<T> {
11 using base_type = B<T>;
13 using base_type::base_type;
15 ~scope_guard() = default;
19 scope_guard (T) -> scope_guard<T>;