Skip to content

Commit 9ed0755

Browse files
authored
[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.
1 parent 4e8c9d2 commit 9ed0755

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/test/Preprocessing/bug129131.F

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
! RUN: %flang -fc1 -fdebug-unparse %s 2>&1 | FileCheck %s
1+
! RUN: %flang_fc1 -fdebug-unparse %s 2>&1 | FileCheck %s
22
! CHECK: PRINT *, 2_4
33
! CHECK: PRINT *, 1_4
44
#define a ,3

0 commit comments

Comments
 (0)