Leandro Lupori 9ed075595e
[flang] Fix Preprocessing/bug129131.F test on Darwin (#123094)
On Darwin, the --isysroot flag must also be specified. This
happens when either %flang or %flang_fc1 is expanded. As -fc1 must
be the first argument, %flang_fc1 must be used in tests, instead of
%flang -fc1.
2025-01-16 10:21:21 -03:00

9 lines
179 B
Fortran

! RUN: %flang_fc1 -fdebug-unparse %s 2>&1 | FileCheck %s
! CHECK: PRINT *, 2_4
! CHECK: PRINT *, 1_4
#define a ,3
print *, mod(5 a)
print *, mod(4 a
+)
end