[clang] [Clang][OpenMP] Emit unsupported directive error (PR #70233)
Shilei Tian via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 24 13:21:23 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();
+}
----------------
shiltian wrote:
Leave an empty line at the end of the file
https://github.com/llvm/llvm-project/pull/70233
More information about the cfe-commits
mailing list