diff options
Diffstat (limited to 'test/OpenMP/option_warn.c')
-rw-r--r-- | test/OpenMP/option_warn.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/OpenMP/option_warn.c b/test/OpenMP/option_warn.c index ddec8e113e77..d9be164aad77 100644 --- a/test/OpenMP/option_warn.c +++ b/test/OpenMP/option_warn.c @@ -1,5 +1,8 @@ // RUN: %clang_cc1 -verify -Wsource-uses-openmp -o - %s +// RUN: %clang_cc1 -verify -Wsource-uses-openmp -o - %s +// SIMD-ONLY0-NOT: {{__kmpc|__tgt}} + int a; #pragma omp threadprivate(a,b) // expected-warning {{unexpected '#pragma omp ...' in program}} #pragma omp parallel |