From: Kelvin Li Date: Tue, 6 Dec 2016 18:50:20 +0000 (+0000) Subject: [OpenMP] Fix typo in the test case. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5dee4f4e7262b676bdae50bbd1921683b7a84ae7;p=clang [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 --- diff --git a/test/OpenMP/teams_distribute_parallel_for_simd_if_messages.cpp b/test/OpenMP/teams_distribute_parallel_for_simd_if_messages.cpp index 4b21bd4c40..81bc383f4a 100644 --- a/test/OpenMP/teams_distribute_parallel_for_simd_if_messages.cpp +++ b/test/OpenMP/teams_distribute_parallel_for_simd_if_messages.cpp @@ -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}}