Skip to content

Commit 643dd1e

Browse files
SLTozerchencha3
authored andcommitted
Reapply "[flang] Fix cuda-option test on Darwin (llvm#85687)"
This commit was mistakenly reverted in place of the actual failing commit prior; reapplying. This reverts commit db4170a.
1 parent a54e400 commit 643dd1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

flang/test/Driver/cuda-option.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
! Test -fcuda option
2-
! RUN: %flang -fc1 -cpp -x cuda -fdebug-unparse %s -o - | FileCheck %s
3-
! RUN: not %flang -fc1 -cpp %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
2+
! RUN: %flang_fc1 -cpp -x cuda -fdebug-unparse %s -o - | FileCheck %s
3+
! RUN: not %flang_fc1 -cpp %s -o - 2>&1 | FileCheck %s --check-prefix=ERROR
44
program main
55
#if _CUDA
66
integer :: var = _CUDA

0 commit comments

Comments
 (0)