PR libfortran/64770 Segfault when trying to open existing file with status="new".
[official-gcc.git] / gcc / testsuite / gcc.dg / gomp / pr27573.c
blob239e9913cb3787c385b7dd6f570008bb2d54cd4b
1 /* PR middle-end/27573 */
2 /* { dg-do compile } */
3 /* { dg-require-profiling "-fprofile-generate" } */
4 /* { dg-options "-O2 -fopenmp -fprofile-generate" } */
6 extern int puts (const char *);
8 int
9 main (void)
11 int i, j = 8;
12 #pragma omp parallel
14 puts ("foo");
15 for (i = 1; i < j - 1; i++)
18 return 0;