blob: 1234caef31d1c861b2f5f9ba052edc16cf05f73e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
// PR c++/96282
// { dg-do compile { target c++11 } }
struct e { bool v = true; e *p = this; };
template<int N>
struct b { e m[N][N]; };
template<int N>
struct t : b<N> { constexpr t() : b<N>() {} };
constexpr t<1> h1;
constexpr t<42> h2;
|