Skip to content

Commit e768296

Browse files
committed
[NFC] update test to clarify check for host compile.
1 parent aac5592 commit e768296

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

clang/test/Driver/sycl-MD-default.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
// RUN: %clang_cl -### -MDd -fsycl -c %s 2>&1 \
1212
// RUN: | FileCheck -check-prefix=CHK-DEFAULT %s
1313
// CHK-DEFAULT-NOT: "-fsycl-is-device" {{.*}} "-D_MT" "-D_DLL"
14-
// CHK-DEFAULT: "-D_MT" "-D_DLL"
15-
// CHK-DEFAULT: "--dependent-lib=msvcrt{{d*}}"
14+
// CHK-DEFAULT: "-D_MT" "-D_DLL" "--dependent-lib=msvcrt{{d*}}" {{.*}} "-fsycl-is-host"
1615

1716
// RUN: %clang_cl -### -MT -fsycl -c %s 2>&1 \
1817
// RUN: | FileCheck -check-prefix=CHK-ERROR %s

0 commit comments

Comments
 (0)