Tested x86_64-pc-linux-gnu, applying to trunk.

-- >8 --
-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 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 <initializer_list>
+constexpr auto list = { 1, 2, 3 };

base-commit: ffd56dcc11e32033a1f3a964af584dc32321a125
-- 
2.46.0

Reply via email to