PR c++/82069 - ICE with lambda in template
[official-gcc.git] / gcc / testsuite / gcc.dg / pr33670.c
blob5232af96548d5b2ee2e1a4b483025d5ec182a81d
1 /* PR middle-end/33670 */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -fsched-stalled-insns=0" } */
5 struct B
7 int p;
8 int n;
9 };
10 extern struct B ***b;
11 extern int a;
13 int
14 foo (int d, int e)
16 int c;
17 for (c = d; c <= e; c++)
18 b[a][c]->n = b[a][c]->p;