repo.or.cz
/
gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fortran: Fix PR 47485.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array27.C
blob
1234caef31d1c861b2f5f9ba052edc16cf05f73e
1
// PR c++/96282
2
// { dg-do compile { target c++11 } }
3
4
struct e { bool v = true; e *p = this; };
5
6
template<int N>
7
struct b { e m[N][N]; };
8
9
template<int N>
10
struct t : b<N> { constexpr t() : b<N>() {} };
11
12
constexpr t<1> h1;
13
constexpr t<42> h2;