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
PR c++/82069 - ICE with lambda in template
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.dg
/
pr41345.c
blob
cb0809171e5914b9a930ef01ac725c0cfdc27a83
1
/* PR bootstrap/41345 */
2
/* { dg-do compile } */
3
/* { dg-options "-O2 -g -fcompare-debug" } */
4
/* { dg-xfail-if "" { powerpc-ibm-aix* } } */
5
6
void
7
foo
(
int
*
x
)
8
{
9
int
a
;
10
for
(
a
=
0
;
a
<
2
;
a
++)
11
if
(
x
[
a
])
12
goto
lab
;
13
__builtin_unreachable
();
14
lab
:;
15
}