PR c++/82069 - ICE with lambda in template
[official-gcc.git] / gcc / testsuite / gcc.dg / pr42728.c
blob3ee919b63f9f5d537df69992383dcd07252ee7d6
1 /* PR debug/42728 */
2 /* { dg-do compile } */
3 /* { dg-options "-O1 -fcompare-debug" } */
4 /* { dg-xfail-if "" { powerpc-ibm-aix* } } */
6 void
7 foo (char *a)
9 char *b;
10 for (; *a; a++)
11 a = b++;