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-ctor9.C
blob
0763ee4bc9b97be66051406c793b89cedac72a3a
1
// PR c++/47774
2
// { dg-do compile { target c++11 } }
3
4
struct A
5
{
6
A() {}
7
};
8
9
template <typename T>
10
struct array
11
{
12
constexpr array() : mem() {}
13
T mem[7];
14
};
15
16
int main()
17
{
18
array<A> ar;
19
}