Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.dg/cpp2a/concepts-inherit-ctor9.C @ 152:2b5abeee2509
update gcc11
author | anatofuz |
---|---|
date | Mon, 25 May 2020 07:50:57 +0900 |
parents | |
children |
line wrap: on
line source
// PR c++/94719 // { dg-do compile { target concepts } } template<typename T> struct bar { template<int N = 5> requires (N == 5) bar() { } }; template<typename T> struct foo : bar<T> { using foo::bar::bar; }; void baz() { foo<int>{}; }