Skip to content

Commit 5dee4f4

Browse files
committed
[OpenMP] Fix typo in the test case. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288838 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent b7a0d79 commit 5dee4f4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/OpenMP/teams_distribute_parallel_for_simd_if_messages.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ int tmain(T argc, S **argv) {
1616
#pragma omp teams distribute parallel for simd if // expected-error {{expected '(' after 'if'}}
1717
for (i = 0; i < argc; ++i) foo();
1818
#pragma omp target
19-
#pragma omp teams
20-
#pragma omp distribute parallel for simd if ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
19+
#pragma omp teams distribute parallel for simd if ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
2120
for (i = 0; i < argc; ++i) foo();
2221
#pragma omp target
2322
#pragma omp teams distribute parallel for simd if () // expected-error {{expected expression}}

0 commit comments

Comments
 (0)