diff options
Diffstat (limited to 'test/OpenMP/no_option_no_warn.c')
-rw-r--r-- | test/OpenMP/no_option_no_warn.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/OpenMP/no_option_no_warn.c b/test/OpenMP/no_option_no_warn.c new file mode 100644 index 0000000000000..c989991371f4f --- /dev/null +++ b/test/OpenMP/no_option_no_warn.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 -verify -Wno-source-uses-openmp -o - %s +// expected-no-diagnostics + +int a; +#pragma omp threadprivate(a,b) +#pragma omp parallel |