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-63241.C
blob
2553cae349c18fb7de418978442fffa07abc072f
1
// PR c++/63241
2
// { dg-do compile { target c++11 } }
3
4
struct A {
5
constexpr A(int){}
6
};
7
8
int main() {
9
int i = 1;
10
A array[2][2] =
11
{{{0}, {i}},
12
{{0}, {0}}};
13
}