[flang-commits] [flang] [Flang] Add parsing and attribute registration for SIMPLE specifier (PR #161285)

Šárka Holendová via flang-commits flang-commits at lists.llvm.org
Mon Apr 27 04:33:49 PDT 2026


================
@@ -0,0 +1,36 @@
+! This is the negative/control case for simple-satisfies-pure.f90.
+! It verifies that a procedure which is neither PURE nor SIMPLE is rejected
+! when passed to a dummy argument that requires a PURE procedure.
+! RUN: not %flang_fc1 -fsyntax-only %s 2>&1 | FileCheck %s
----------------
mlir-maiden wrote:

Should I also update `flang/test/Semantics/pure-does-not-satisfy-simple.f90` and `flang/test/Semantics/simple-impure-conflict.f90` to use `test_errors.py`, or keep the change limited to this test? Thank you

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


More information about the flang-commits mailing list