PR c++/82069 - ICE with lambda in template
[official-gcc.git] / gcc / testsuite / gcc.dg / pr38615.c
blob8a818a11fb36c7b6c5d83ba54ea45fae6773ea56
1 /* { dg-do run } */
3 int t;
4 extern void abort (void);
6 int f(int t, const int *a)
8 const int b[] = { 1, 2, 3};
9 if (!t)
10 return f(1, b);
11 return b == a;
14 int main(void)
16 if (f(0, 0))
17 abort ();
18 return 0;