[C++ PATCH] Deprecate -ffriend-injection
[official-gcc.git] / gcc / testsuite / gcc.dg / 20111216-1.c
blobcd82cf929849cc4da50b021c898502d677c2d827
1 /* { dg-do compile } */
2 /* { dg-options "-O -fexceptions -fnon-call-exceptions" } */
4 extern void f2 () __attribute__ ((noreturn));
5 void
6 f1 ()
8 unsigned char a[8];
9 unsigned int i;
11 for (i = 0; i < 8; i++)
13 if (i > 8)
14 f2 ();
15 a[i] = i <= 8;