repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2018-11-07 Richard Biener <rguenther@suse.de>
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp0x
/
constexpr-array3.C
blob
12f42f1834d4222bbb0575ddcedd707738a6004c
1
// PR c++/48132
2
// { dg-do compile { target c++11 } }
3
4
struct C
5
{
6
constexpr C (int x) : c (x) {}
7
int c;
8
};
9
10
void
11
foo ()
12
{
13
C a[] = { C (0) };
14
}