================
@@ -0,0 +1,21 @@
+// RUN: %clang_cc1 -verify -fopenmp %s
+// RUN: %clang_cc1 -verify -fopenmp-simd %s
+// RUN: %clang_cc1 -verify -fopenmp -fopenmp-targets=nvptx64 %s
+
+void foo() {
+}
+
+void bar() {
+#pragma omp target ompx_bare // expected-error {{unexpected OpenMP clause 
'ompx_bare' in directive '#pragma omp target'}} expected-note {{OpenMP 
extension clause 'ompx_bare' only allowed with '#pragma omp target'}}
----------------
shiltian wrote:

I figured the note is not helpful at all since we need it to be on `target 
teams` instead of `target`. Updated.

https://github.com/llvm/llvm-project/pull/66844
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to