blob: b8eb08411c1e2c8362cce5e7c755d70652174321 [file] [log] [blame]
// PR c++/66921
// { dg-do compile { target c++11 } }
template<typename T>
struct Holder {
constexpr static const int array[] = { 1, 2, 3 };
enum {F = array[0]};
};
class HI: public Holder<int> {};