diff options
Diffstat (limited to 'test/OpenMP/openmp_common.c')
-rw-r--r-- | test/OpenMP/openmp_common.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/OpenMP/openmp_common.c b/test/OpenMP/openmp_common.c index ed55796b33..feeefc4820 100644 --- a/test/OpenMP/openmp_common.c +++ b/test/OpenMP/openmp_common.c @@ -1,5 +1,8 @@ // RUN: %clang_cc1 -verify -fopenmp -ferror-limit 100 -o - %s +// RUN: %clang_cc1 -verify -fopenmp-simd -ferror-limit 100 -o - %s +// SIMD-ONLY0-NOT: {{__kmpc|__tgt}} + #pragma omp // expected-error {{expected an OpenMP directive}} #pragma omp unknown_directive // expected-error {{expected an OpenMP directive}} |