blob: b8eb08411c1e2c8362cce5e7c755d70652174321 (
plain)
1
2
3
4
5
6
7
8
9
|
// 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> {};
|