[OpenMP] Fix typo in the test case. NFC.

llvm-svn: 288838
This commit is contained in:
Kelvin Li 2016-12-06 18:50:20 +00:00
parent 827414876f
commit 8bd9107fb9
1 changed files with 1 additions and 2 deletions

View File

@ -16,8 +16,7 @@ int tmain(T argc, S **argv) {
#pragma omp teams distribute parallel for simd if // expected-error {{expected '(' after 'if'}} #pragma omp teams distribute parallel for simd if // expected-error {{expected '(' after 'if'}}
for (i = 0; i < argc; ++i) foo(); for (i = 0; i < argc; ++i) foo();
#pragma omp target #pragma omp target
#pragma omp teams #pragma omp teams distribute parallel for simd if ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
#pragma omp distribute parallel for simd if ( // expected-error {{expected expression}} expected-error {{expected ')'}} expected-note {{to match this '('}}
for (i = 0; i < argc; ++i) foo(); for (i = 0; i < argc; ++i) foo();
#pragma omp target #pragma omp target
#pragma omp teams distribute parallel for simd if () // expected-error {{expected expression}} #pragma omp teams distribute parallel for simd if () // expected-error {{expected expression}}