1// PR c++/66921 2// { dg-do compile { target c++11 } } 3 4template<typename T> 5struct Holder { 6 constexpr static const int array[] = { 1, 2, 3 }; 7 enum {F = array[0]}; 8}; 9class HI: public Holder<int> {}; 10