]> granicus.if.org Git - clang/commitdiff
[OpenMP] Fix typo in the test case. NFC.
authorKelvin Li <kkwli0@gmail.com>
Tue, 6 Dec 2016 18:50:20 +0000 (18:50 +0000)
committerKelvin Li <kkwli0@gmail.com>
Tue, 6 Dec 2016 18:50:20 +0000 (18:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288838 91177308-0d34-0410-b5e6-96231b3b80d8

test/OpenMP/teams_distribute_parallel_for_simd_if_messages.cpp

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