From: Marek Polacek Date: Fri, 14 Feb 2025 21:04:41 +0000 (-0500) Subject: c++: add fixed test [PR82794] X-Git-Tag: basepoints/gcc-16~2016 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=77ba1ab85d3a45005bfff90b2fd262e102e5383a;p=thirdparty%2Fgcc.git c++: add fixed test [PR82794] Fixed by r10-3735. PR c++/82794 gcc/testsuite/ChangeLog: * g++.dg/cpp2a/concepts-pr82794.C: New test. --- diff --git a/gcc/testsuite/g++.dg/cpp2a/concepts-pr82794.C b/gcc/testsuite/g++.dg/cpp2a/concepts-pr82794.C new file mode 100644 index 00000000000..b84e9ec45f6 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp2a/concepts-pr82794.C @@ -0,0 +1,8 @@ +// PR c++/82794 +// { dg-do compile { target c++20 } } + +template +concept Foo = true; + +template +using foo = void;