* gcc.dg/torture/stackalign/builtin-apply-2.c: Fix skip-if syntax.
[official-gcc.git] / gcc / testsuite / gcc.dg / goacc / pr71373.c
blob9381752cc9dede838a3088c63586ce6e5d8b9e78
1 /* Unintentional nested function usage. */
2 /* Due to missing right braces '}', the following functions are parsed as
3 nested functions. This ran into an ICE. */
5 void foo (void)
7 #pragma acc parallel
9 #pragma acc loop independent
10 for (int i = 0; i < 16; i++)
12 // Note right brace '}' commented out here.
13 //}
15 void bar (void)
19 // Adding right brace '}' here, to make this compile.
23 // ..., and the other way round:
25 void BAR (void)
27 // Note right brace '}' commented out here.
28 //}
30 void FOO (void)
32 #pragma acc parallel
34 #pragma acc loop independent
35 for (int i = 0; i < 16; i++)
40 // Adding right brace '}' here, to make this compile.