aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp1z/class-deduction6.C
blob: b20bd75b98d9d1fcb446bc7eb47d8de037e437d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
// { dg-do compile { target c++17 } }

template <class T>
struct A
{
  int i;
};

struct B : A<int> {} b;

A a(b);