]>
git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gcc.dg/cilk-plus/jump-openmp.c
1 /* { dg-do compile } */
2 /* { dg-options "-fcilkplus -fopenmp" } */
3 /* { dg-require-effective-target fopenmp } */
10 for (int i
=0; i
< 1000; ++i
)
14 return; /* { dg-error "invalid branch to/from Cilk Plus structured block" } */
21 for (int i
=0; i
< 1000; ++i
)
27 goto lab
; /* { dg-error "invalid entry to Cilk Plus structured block" } */
34 goto bad1
; /* { dg-error "invalid branch to/from OpenMP structured block" } */
36 goto bad2
; /* { dg-error "invalid entry to OpenMP structured block" } */
46 for (i
= 0; i
< 10; ++i
)