https://gcc.gnu.org/g:b1765a5737f011bfd992c6ab78018d6e9042f074
commit r15-3326-gb1765a5737f011bfd992c6ab78018d6e9042f074 Author: Marek Polacek <pola...@redhat.com> Date: Fri Aug 30 17:09:19 2024 -0400 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: --- gcc/testsuite/g++.dg/concepts/pr101099.C | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gcc/testsuite/g++.dg/concepts/pr101099.C b/gcc/testsuite/g++.dg/concepts/pr101099.C new file mode 100644 index 000000000000..82fd87c843be --- /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 <initializer_list> +constexpr auto list = { 1, 2, 3 };