[flang-commits] [flang] [Flang] Avoid crash when a function return is undefined (PR #151577)

Tom Eccles via flang-commits flang-commits at lists.llvm.org
Mon Aug 4 02:36:15 PDT 2025


================
@@ -0,0 +1,8 @@
+! RUN: %python %S/test_errors.py %s %flang_fc1
+! XFAIL: *
+function s(x) result(i)
+!ERROR: internal error when processing function return
----------------
tblah wrote:

I expect this should fail now?

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


More information about the flang-commits mailing list