diff options
Diffstat (limited to 'test/OpenMP/for_ast_print.cpp')
-rw-r--r-- | test/OpenMP/for_ast_print.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/OpenMP/for_ast_print.cpp b/test/OpenMP/for_ast_print.cpp index 82318ff800aa4..760d44c1cf517 100644 --- a/test/OpenMP/for_ast_print.cpp +++ b/test/OpenMP/for_ast_print.cpp @@ -145,8 +145,8 @@ int main(int argc, char **argv) { int b = argc, c, d, e, f, g; static int a; // CHECK: static int a; -#pragma omp for schedule(guided, argc) - // CHECK-NEXT: #pragma omp for schedule(guided, argc) +#pragma omp for schedule(guided, argc) reduction(+:argv[0][:1]) + // CHECK-NEXT: #pragma omp for schedule(guided, argc) reduction(+: argv[0][:1]) for (int i = 0; i < 2; ++i) a = 2; // CHECK-NEXT: for (int i = 0; i < 2; ++i) |