blob: 5b571e3231866fb7c9926365cf781f2416e9d89c [file] [log] [blame]
// PR c++/94549
// { dg-do compile { target concepts } }
struct base {
template <typename type>
requires false
base(type);
template <typename type>
requires true
base(type);
};
struct derived : base {
using base::base;
};
void foo() {
derived{'G'};
}