1 // PR c++/82152
2 // { dg-additional-options -std=c++17 }
3 
4 struct Base {};
5 
6 template<typename T>
7 struct Derived : public Base {
8   using Base::Base;
9 };
10 
11 Derived() -> Derived< void >;
12 
main()13 int main() {
14   Derived x;
15 }
16