[clang] [Clang][OpenMP] Emit unsupported directive error (PR #70233)

Raymond Chang via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 24 13:26:02 PST 2023


================
@@ -0,0 +1,7 @@
+// RUN: %clang_cc1 -emit-llvm -fopenmp -disable-llvm-passes %s -verify=expected
+
+// expected-error at +2 {{cannot compile this OpenMP dispatch directive yet}} 
+void a(){
+    #pragma omp dispatch
+    a();
+}
----------------
rkchang wrote:

Added, thanks

https://github.com/llvm/llvm-project/pull/70233


More information about the cfe-commits mailing list