File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change 1
1
// REQUIRES: clang-driver
2
2
3
+ // RUN: %clang -### -fsycl -c %s 2>&1 \
4
+ // RUN: | FileCheck -check-prefix=CHK-DEFAULT %s
5
+ // RUN: %clangxx -### -fsycl -c %s 2>&1 \
6
+ // RUN: | FileCheck -check-prefix=CHK-DEFAULT %s
3
7
// RUN: %clang_cl -### -fsycl -c %s 2>&1 \
4
8
// RUN: | FileCheck -check-prefix=CHK-DEFAULT %s
5
9
// RUN: %clang_cl -### -MD -fsycl -c %s 2>&1 \
9
13
// CHK-DEFAULT: "-D_MT" "-D_DLL"
10
14
// CHK-DEFAULT: "--dependent-lib=msvcrt{{d*}}"
11
15
16
+ // RUN: %clang -### -fsycl-device-only -c %s 2>&1 \
17
+ // RUN: | FileCheck -check-prefix=CHK-DEFAULT-DEF %s
18
+ // RUN: %clangxx -### -fsycl -c %s 2>&1 \
19
+ // RUN: | FileCheck -check-prefix=CHK-DEFAULT-DEF %s
20
+ // CHK-DEFAULT-DEF: "-D_MT" "-D_DLL"
21
+
12
22
// RUN: %clang_cl -### -MT -fsycl -c %s 2>&1 \
13
23
// RUN: | FileCheck -check-prefix=CHK-ERROR %s
14
24
// RUN: %clang_cl -### -MTd -fsycl -c %s 2>&1 \
You can’t perform that action at this time.
0 commit comments