aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/cpp2a/concepts-inherit-ctor6.C
blob: ad29068e49f70b8b06e1acb8b4debb461a08be43 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// PR c++/91930
// { dg-do compile { target c++20 } }

template <typename T> struct basic_mixin {
  basic_mixin() requires true;
};

struct mixin : basic_mixin<int> {
  using basic_mixin<int>::basic_mixin;
};

mixin m;