aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction54.C
blob: e51398bbbb0ad0310865110ed5426705873fc2e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// PR c++/82152
// { dg-additional-options -std=c++17 }

struct Base {};

template<typename T>
struct Derived : public Base {
  using Base::Base;
};

Derived() -> Derived< void >;

int main() {
  Derived x;
}