File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 15
15
// FOFFLOAD_STATIC_LIB: clang-offload-bundler{{.*}} "-type=oo"
16
16
// FOFFLOAD_STATIC_LIB: llvm-link{{.*}} "@{{.*}}"
17
17
18
+ // / Use of -foffload-static-lib and -foffload-whole-static-lib are deprecated
19
+ // RUN: touch dummy.a
20
+ // RUN: %clangxx -fsycl -foffload-static-lib=dummy.a -foffload-whole-static-lib=dummy.a -### 2>&1 \
21
+ // RUN: | FileCheck %s -check-prefix=FOFFLOAD_STATIC_LIB_DEPRECATED
22
+ // RUN: %clang_cl -fsycl -foffload-static-lib=dummy.a -foffload-whole-static-lib=dummy.a -### 2>&1 \
23
+ // RUN: | FileCheck %s -check-prefix=FOFFLOAD_STATIC_LIB_DEPRECATED
24
+ // FOFFLOAD_STATIC_LIB_DEPRECATED: option '-foffload-whole-static-lib=dummy.a' is deprecated, use 'dummy.a' directly instead
25
+
18
26
// / ###########################################################################
19
27
20
28
// / test behaviors of -foffload-static-lib=<lib> with multiple objects
You can’t perform that action at this time.
0 commit comments