3 // RUN: -fno-record-command-line \
\r
4 // RUN: -frecord-command-line \
\r
5 // RUN: -nodefaultlibs \
\r
11 // RUN: -Xoffload-linker \
\r
12 // RUN: -### -x c++ -c - < /dev/null 2>&1 \
\r
13 // RUN: | FileCheck %s --check-prefix=CL --implicit-check-not="warning:"
\r
15 // RUN: not %clang_dxc \
\r
17 // RUN: -fno-record-command-line \
\r
18 // RUN: -frecord-command-line \
\r
19 // RUN: -nodefaultlibs \
\r
26 // RUN: -Xoffload-linker \
\r
27 // RUN: -### -T lib_6_3 -Vd - < /dev/null 2>&1 \
\r
28 // RUN: | FileCheck %s --check-prefix=DXC --implicit-check-not="error:"
\r
30 // CL: warning: unknown argument ignored in clang-cl: '--config'
\r
31 // CL: warning: unknown argument ignored in clang-cl: '-fno-record-command-line'
\r
32 // CL: warning: unknown argument ignored in clang-cl: '-frecord-command-line'
\r
33 // CL: warning: unknown argument ignored in clang-cl: '-nodefaultlibs'
\r
34 // CL: warning: unknown argument ignored in clang-cl: '-nostdlib'
\r
35 // CL: warning: unknown argument ignored in clang-cl: '-rpath'
\r
36 // CL: warning: unknown argument ignored in clang-cl: '-shared'
\r
37 // CL: warning: unknown argument ignored in clang-cl: '-static'
\r
38 // CL: warning: unknown argument ignored in clang-cl: '-stdlib'
\r
39 // CL: warning: unknown argument ignored in clang-cl: '-Xoffload-linker'
\r
41 // DXC: error: unknown argument: '--config'
\r
42 // DXC: error: unknown argument: '-fno-record-command-line'
\r
43 // DXC: error: unknown argument: '-frecord-command-line'
\r
44 // DXC: error: unknown argument: '-nodefaultlibs'
\r
45 // DXC: error: unknown argument: '-nostdlib'
\r
46 // DXC: error: unknown argument: '-rpath'
\r
47 // DXC: error: unknown argument: '-shared'
\r
48 // DXC: error: unknown argument: '-static'
\r
49 // DXC: error: unknown argument: '-stdlib'
\r
50 // DXC: error: unknown argument: '-Xlinker'
\r
51 // DXC: error: unknown argument: '-Xoffload-linker'
\r