From: Marek Polacek Date: Fri, 30 Aug 2024 21:09:19 +0000 (-0400) Subject: c++: add fixed test [PR101099] X-Git-Tag: basepoints/gcc-16~6227 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b1765a5737f011bfd992c6ab78018d6e9042f074;p=thirdparty%2Fgcc.git c++: add fixed test [PR101099] -fconcepts-ts is no longer supported so this can't be made to ICE anymore. PR c++/101099 gcc/testsuite/ChangeLog: * g++.dg/concepts/pr101099.C: New test. --- diff --git a/gcc/testsuite/g++.dg/concepts/pr101099.C b/gcc/testsuite/g++.dg/concepts/pr101099.C new file mode 100644 index 00000000000..82fd87c843b --- /dev/null +++ b/gcc/testsuite/g++.dg/concepts/pr101099.C @@ -0,0 +1,6 @@ +// PR c++/101099 +// { dg-do compile { target c++11 } } +// { dg-options "-fconcepts" } + +#include +constexpr auto list = { 1, 2, 3 };