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> {};
10