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