From: paolo Date: Fri, 29 Aug 2014 12:24:17 +0000 (+0000) Subject: 2014-08-29 Paolo Carlini X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9ccc79cbc4d1c7705c5417eca3487c0bce503c18;p=thirdparty%2Fgcc.git 2014-08-29 Paolo Carlini PR c++/59938 * g++.dg/cpp0x/constexpr-59938.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214724 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 14d25b8f9168..b799e7921992 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2014-08-29 Paolo Carlini + + PR c++/59938 + * g++.dg/cpp0x/constexpr-59938.C: New. + 2014-08-29 Paolo Carlini PR c++/61484 diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-59938.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-59938.C new file mode 100644 index 000000000000..560071c69fde --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-59938.C @@ -0,0 +1,5 @@ +// PR c++/59938 +// { dg-do compile { target c++11 } } + +struct Data { const char* const& name; }; +constexpr Data d = { "" };