Skip to content

Commit 11aa94f

Browse files
committed
[NFC] Fix test, clang output differs from clang-cl here
1 parent e768296 commit 11aa94f

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,17 @@
44
// RUN: | FileCheck -check-prefix=CHK-DEFAULT %s
55
// RUN: %clangxx -### -fsycl -c -target x86_64-unknown-windows-msvc %s 2>&1 \
66
// RUN: | FileCheck -check-prefix=CHK-DEFAULT %s
7+
// CHK-DEFAULT-NOT: "-fsycl-is-device" {{.*}} "-D_MT" "-D_DLL"
8+
// CHK-DEFAULT: "-fsycl-is-host" "-D_MT" "-D_DLL" "--dependent-lib=msvcrt{{d*}}" {{.*}}
9+
710
// RUN: %clang_cl -### -fsycl -c %s 2>&1 \
8-
// RUN: | FileCheck -check-prefix=CHK-DEFAULT %s
11+
// RUN: | FileCheck -check-prefix=CHK-DEFAULT-CL %s
912
// RUN: %clang_cl -### -MD -fsycl -c %s 2>&1 \
10-
// RUN: | FileCheck -check-prefix=CHK-DEFAULT %s
13+
// RUN: | FileCheck -check-prefix=CHK-DEFAULT-CL %s
1114
// RUN: %clang_cl -### -MDd -fsycl -c %s 2>&1 \
12-
// RUN: | FileCheck -check-prefix=CHK-DEFAULT %s
13-
// CHK-DEFAULT-NOT: "-fsycl-is-device" {{.*}} "-D_MT" "-D_DLL"
14-
// CHK-DEFAULT: "-D_MT" "-D_DLL" "--dependent-lib=msvcrt{{d*}}" {{.*}} "-fsycl-is-host"
15+
// RUN: | FileCheck -check-prefix=CHK-DEFAULT-CL %s
16+
// CHK-DEFAULT-CL-NOT: "-fsycl-is-device" {{.*}} "-D_MT" "-D_DLL"
17+
// CHK-DEFAULT-CL: "-D_MT" "-D_DLL" "--dependent-lib=msvcrt{{d*}}" {{.*}} "-fsycl-is-host"
1518

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

0 commit comments

Comments
 (0)