diff options
| -rw-r--r-- | gcc/testsuite/ChangeLog | 5 | ||||
| -rw-r--r-- | gcc/testsuite/g++.dg/cpp0x/constexpr-array11.C | 13 |
2 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 6e8f5b1..55f6ed6 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-03-24 Paolo Carlini <paolo.carlini@oracle.com> + + PR c++/65513 + * g++.dg/cpp0x/constexpr-array11.C: New. + 2015-03-24 Richard Biener <rguenther@suse.de> 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 0000000..5ecda4d --- /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 <typename _Tp> struct atomic { + atomic() = default; + atomic(_Tp); +}; + +struct { + atomic<bool> bReadyToFlush; +} + +LogThreadsleLogEntries[10]{}; |
