c++: fn redecl in fn scope wrongly accepted [PR116239]
[official-gcc.git] / gcc / testsuite / gcc.dg / pr52046.c
blobf0873e2008ff1344368b8823fef094b71418b783
1 /* PR tree-optimization/52046 */
2 /* { dg-do compile } */
3 /* { dg-options "-O3 -fexceptions -fnon-call-exceptions" } */
4 /* { dg-require-effective-target exceptions } */
6 extern float a[], b[], c[], d[];
7 extern int k[];
9 void
10 foo (void)
12 int i;
13 for (i = 0; i < 1024; ++i)
14 k[i] = (a[i] < b[i]) | (c[i] < d[i]);