[flang-commits] [flang] [flang] Support for warning and error compiler directives. (PR #151510)

Eugene Epshteyn via flang-commits flang-commits at lists.llvm.org
Mon Aug 4 04:40:03 PDT 2025


================
@@ -0,0 +1,8 @@
+! RUN: not %flang_fc1 -fsyntax-only %s 2>&1 | FileCheck %s
+
+! Test that error compiler directive issues error
+program warn
----------------
eugeneepshteyn wrote:

Program "error" perhaps? :)

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


More information about the flang-commits mailing list