From b1765a5737f011bfd992c6ab78018d6e9042f074 Mon Sep 17 00:00:00 2001 From: Marek Polacek Date: Fri, 30 Aug 2024 17:09:19 -0400 Subject: [PATCH] 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. --- gcc/testsuite/g++.dg/concepts/pr101099.C | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 gcc/testsuite/g++.dg/concepts/pr101099.C 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 +constexpr auto list = { 1, 2, 3 }; -- 2.47.2