projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
c++: Implement LWG3396 Clarify point of reference for source_location::current()...
[gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
cpp2a
/
paren-init22.C
1
// PR c++/94155 - crash in gimplifier with paren init of aggregates.
2
// { dg-do compile { target c++20 } }
3
4
struct S { int i, j; };
5
6
struct A {
7
S s;
8
constexpr A(S e) : s(e) {}
9
};
10
11
void
12
f()
13
{
14
A g[1]({{1, 1}});
15
}