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
/
pr102359_1.C
blob
da643cde7bedeb0de1822b0208d8185f5df708c7
1
/* PR middle-end/102359 ICE gimplification failed since
2
r12-3433-ga25e0b5e6ac8a77a. */
3
/* { dg-do compile } */
4
/* { dg-options "-ftrivial-auto-var-init=zero" } */
5
/* { dg-require-effective-target c++17 } */
6
7
struct A {
8
double a = 111;
9
auto foo() {
10
return [*this] { return a; };
11
}
12
};
13
int X = A{}.foo()();