Skip to content

Commit 16c09aa

Browse files
kiranchandramohanfschlimb
authored andcommitted
[Flang] NFC: Update test to work on Mac (llvm#144253)
`%flang` expands to `flang -isysroot <SDK location>` in Mac and probably other OS as well. `fc1` is only accepted as the first argument and hence in this case it fails. Use the `%flang_fc1` option to correctly expand to `flang -fc1 -isysroot <SDK location>`.
1 parent 42b461a commit 16c09aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

flang/test/Preprocessing/bug518.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: k=1_4
33
k= 1_99999999
44
&4

0 commit comments

Comments
 (0)