[flang-commits] [flang] [flang][OpenMP] Verify uses of OmpCancellationConstructTypeClause (PR #139743)
Tom Eccles via flang-commits
flang-commits at lists.llvm.org
Tue May 13 09:15:46 PDT 2025
================
@@ -0,0 +1,11 @@
+!RUN: %python %S/../test_errors.py %s %flang_fc1 %openmp_flags
+
+subroutine f(x)
+ integer :: x
+!ERROR: Cancellation construct type is not allowed on SECTIONS
----------------
tblah wrote:
I think the meaning of this error will not be obvious to the user. Perhaps "PARALLEL cannot follow SECTIONS"?
https://github.com/llvm/llvm-project/pull/139743
More information about the flang-commits
mailing list