summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/gomp/pr27415.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/testsuite/gcc.dg/gomp/pr27415.c')
-rw-r--r--gcc/testsuite/gcc.dg/gomp/pr27415.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/testsuite/gcc.dg/gomp/pr27415.c b/gcc/testsuite/gcc.dg/gomp/pr27415.c
index 418eaf678e9..010a6c3e4dd 100644
--- a/gcc/testsuite/gcc.dg/gomp/pr27415.c
+++ b/gcc/testsuite/gcc.dg/gomp/pr27415.c
@@ -15,8 +15,8 @@ void
test2 (void)
{
int i = 0;
-#pragma omp parallel for firstprivate (i)
- for (i = 0; i < 10; i++) /* { dg-error "should not be firstprivate" } */
+#pragma omp parallel for firstprivate (i) /* { dg-error "should not be firstprivate" } */
+ for (i = 0; i < 10; i++)
;
}
@@ -34,8 +34,8 @@ void
test4 (void)
{
int i = 0;
-#pragma omp parallel for reduction (*:i)
- for (i = 0; i < 10; i++) /* { dg-error "should not be reduction" } */
+#pragma omp parallel for reduction (*:i) /* { dg-error "should not be reduction" } */
+ for (i = 0; i < 10; i++)
;
}