diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:06:01 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2018-07-28 11:06:01 +0000 |
| commit | 486754660bb926339aefcf012a3f848592babb8b (patch) | |
| tree | ecdbc446c9876f4f120f701c243373cd3cb43db3 /test/OpenMP/option_warn.c | |
| parent | 55e6d896ad333f07bb3b1ba487df214fc268a4ab (diff) | |
Vendor import of clang trunk r338150:vendor/clang/clang-trunk-r338150
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 |
