From: Jakub Jelinek Date: Tue, 15 Nov 2016 15:21:49 +0000 (+0100) Subject: re PR c++/71988 (ICE in dump_simple_decl (gcc/cp/error.c:965)) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0c8a8fe248a0a50e279be7780dfd7c5126c9143c;p=gcc.git re PR c++/71988 (ICE in dump_simple_decl (gcc/cp/error.c:965)) PR c++/71988 * g++.dg/cpp0x/constexpr-71988.C: New test. From-SVN: r242426 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index e0c99bf50a2..6d4034a6463 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2016-11-15 Jakub Jelinek + + PR c++/71988 + * g++.dg/cpp0x/constexpr-71988.C: New test. + 2016-11-15 Maciej W. Rozycki * gcc.target/mips/insn-casesi.c: New test case. diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-71988.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-71988.C new file mode 100644 index 00000000000..3a30e836894 --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-71988.C @@ -0,0 +1,6 @@ +// PR c++/71988 +// { dg-do compile { target c++11 } } +// { dg-options "-fdump-ipa-cgraph" } + +struct A {}; +constexpr A a;