From fe46ea6f8156a2818505505c25030f5d842ea38e Mon Sep 17 00:00:00 2001 From: paolo Date: Tue, 24 Mar 2015 10:24:33 +0000 Subject: [PATCH] 2015-03-24 Paolo Carlini PR c++/65513 * g++.dg/cpp0x/constexpr-array11.C: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@221620 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/cpp0x/constexpr-array11.C | 13 +++++++++++++ 2 files changed, 18 insertions(+) create mode 100644 gcc/testsuite/g++.dg/cpp0x/constexpr-array11.C diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6e8f5b1d241..55f6ed6aac3 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-03-24 Paolo Carlini + + PR c++/65513 + * g++.dg/cpp0x/constexpr-array11.C: New. + 2015-03-24 Richard Biener PR middle-end/65517 diff --git a/gcc/testsuite/g++.dg/cpp0x/constexpr-array11.C b/gcc/testsuite/g++.dg/cpp0x/constexpr-array11.C new file mode 100644 index 00000000000..5ecda4d112e --- /dev/null +++ b/gcc/testsuite/g++.dg/cpp0x/constexpr-array11.C @@ -0,0 +1,13 @@ +// PR c++/65513 +// { dg-do compile { target c++11 } } + +template struct atomic { + atomic() = default; + atomic(_Tp); +}; + +struct { + atomic bReadyToFlush; +} + +LogThreadsleLogEntries[10]{}; -- 2.11.4.GIT