// PR c++/94819 // { dg-do compile { target concepts } } struct dna4 {}; struct rna4 {}; template struct alphabet_tuple_base { template requires __is_same(component_type, component_types) alphabet_tuple_base(component_type) {} }; template struct structured_rna : alphabet_tuple_base { using base_type = alphabet_tuple_base; using base_type::base_type; }; structured_rna t2{dna4{}}; // { dg-error "no match" } structured_rna t3{rna4{}}; // { dg-bogus "no match" }