[flang-commits] [flang] [flang] Fixing macro variable expansion at compile time (PR #166785)
via flang-commits
flang-commits at lists.llvm.org
Thu Nov 6 09:09:06 PST 2025
================
@@ -0,0 +1,12 @@
+! RUN: %flang -fc1 -emit-fir -cpp -DNVAR=2+1+0+0 -o - %s | FileCheck %s
----------------
jeanPerier wrote:
You should use `%flang -E` tests for preprocessing rather than relying on lowering/FIR.
https://github.com/llvm/llvm-project/pull/166785
More information about the flang-commits
mailing list