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_2.C
blob
1b3f6147dec17a0a0f1885184d5abe09f931c3e0
1
/* PR middle-end/102359 ICE gimplification failed since
2
r12-3433-ga25e0b5e6ac8a77a. */
3
/* { dg-do run } */
4
/* { dg-options "-ftrivial-auto-var-init=zero" } */
5
/* { dg-require-effective-target c++17 } */
6
7
int main()
8
{
9
int i = 42;
10
auto l = [=]() mutable { return i; };
11
if (l() != i)
12
__builtin_abort ();
13
}