
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.
9 lines
179 B
Fortran
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
|