PR libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / sections-4.c
blob62a2ecddf9adbf6e4526c42223a0898cb6bfbcde
1 /* PR c++/24613 */
2 /* { dg-do compile } */
4 #pragma omp section /* { dg-error "may only be used in" } */
6 int i;
8 void
9 foo (void)
11 #pragma omp section /* { dg-error "may only be used in" } */
12 i++;