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
Daily bump.
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
pr65295.C
blob
2fa4b05a22eb3c5fd04db8140d29ce3b31f975da
1
// { dg-do compile }
2
// { dg-options "-std=c++14" }
3
4
struct arr {
5
constexpr arr() : elem() { }
6
char elem[17];
7
};
8
9
constexpr
10
arr f()
11
{
12
arr result;
13
return result;
14
}
15
16
constexpr arr a { f() };
17
18
int main()
19
{
20
}