[flang-commits] [flang] [Flang][Parser] Handle compiler directives inside INTERFACE blocks (PR #198516)
Eugene Epshteyn via flang-commits
flang-commits at lists.llvm.org
Tue May 26 17:51:40 PDT 2026
================
@@ -0,0 +1,25 @@
+! RUN: %flang_fc1 -fsyntax-only %s 2>&1 | FileCheck %s
+
+! Test that unrecognized compiler directives inside INTERFACE blocks
+! produce a warning rather than a parse error.
+
+module m
----------------
eugeneepshteyn wrote:
Please also add a test with some recognized directive and check that it survives module serialization and parsing.
https://github.com/llvm/llvm-project/pull/198516
More information about the flang-commits
mailing list