================
@@ -12,11 +18,16 @@
// RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify=expected,omp51
-fopenmp-simd -fnoopenmp-use-tls -ferror-limit 100 -o - %s
// RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify=expected,omp52
-fopenmp -fopenmp-version=52 -DVERBOSE_MODE=1 -fnoopenmp-use-tls -ferror-limit
100 -o - %s
+// RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify=expected,omp52
-fopenmp -fopenmp-version=60 -DVERBOSE_MODE=1 -fnoopenmp-use-tls -ferror-limit
100 -o - %s
+
// RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify=expected,omp5
-fopenmp -fopenmp-version=50 -fnoopenmp-use-tls -ferror-limit 100 -o - %s
// RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify=expected,omp51
-fopenmp -fnoopenmp-use-tls -ferror-limit 100 -o - %s
+// RUN: %clang_cc1 -triple x86_64-apple-macos10.7.0 -verify=expected,omp6
-fopenmp -fopenmp-version=60 -fnoopenmp-use-tls -ferror-limit 100 -o - %s
+
+
#pragma omp end declare target // expected-error {{unexpected OpenMP directive
'#pragma omp end declare target'}}
-int a, b, z; // omp5-error {{variable captured in declare target region must
appear in a to clause}} // omp51-error {{variable captured in declare target
region must appear in a to clause}} omp52-error {{variable captured in declare
target region must appear in a to clause}}
+int a, b, z; // omp5-error {{variable captured in declare target region must
appear in a to clause}} // omp51-error {{variable captured in declare target
region must appear in a to clause}} omp52-error {{variable captured in declare
target region must appear in a to clause}} omp6-error {{variable captured in
declare target region must appear in a to clause}}
----------------
Meinersbur wrote:
Can you do something like `-verify=expected,omp52` as in others tests to not
copy each line?
https://github.com/llvm/llvm-project/pull/122108
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits