8sa1-gcc/gcc/testsuite/g++.dg/cpp0x/constexpr-array11.C
Paolo Carlini a9272fd042 re PR c++/65513 (gcc stops with "internal compiler error")
2015-03-24  Paolo Carlini  <paolo.carlini@oracle.com>

	PR c++/65513
	* g++.dg/cpp0x/constexpr-array11.C: New.

From-SVN: r221620
2015-03-24 10:24:33 +00:00

14 lines
208 B
C

// PR c++/65513
// { dg-do compile { target c++11 } }
template <typename _Tp> struct atomic {
atomic() = default;
atomic(_Tp);
};
struct {
atomic<bool> bReadyToFlush;
}
LogThreadsleLogEntries[10]{};