diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/gomp/block-0.C')
-rw-r--r-- | gcc/testsuite/g++.dg/gomp/block-0.C | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gcc/testsuite/g++.dg/gomp/block-0.C b/gcc/testsuite/g++.dg/gomp/block-0.C index fa7865d8b93..86af0404ab3 100644 --- a/gcc/testsuite/g++.dg/gomp/block-0.C +++ b/gcc/testsuite/g++.dg/gomp/block-0.C @@ -22,8 +22,10 @@ void foo() bar (); #pragma omp parallel sections { - bar (); - bar (); + { + bar (); + bar (); + } #pragma omp section bar (); } |