]> gcc.gnu.org Git - gcc.git/blob - gcc/testsuite/g++.dg/cpp0x/constexpr-array14.C
PR c++/92590 - wrong handling of inherited default ctor.
[gcc.git] / gcc / testsuite / g++.dg / cpp0x / constexpr-array14.C
1 // PR c++/66921
2 // { dg-do compile { target c++11 } }
3
4 template<typename T>
5 struct Holder {
6 constexpr static const int array[] = { 1, 2, 3 };
7 enum {F = array[0]};
8 };
9 class HI: public Holder<int> {};
This page took 0.0374139999999999 seconds and 5 git commands to generate.