summaryrefslogtreecommitdiffstats
path: root/llvm/test/Linker/link-flags.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Linker/link-flags.ll')
-rw-r--r--llvm/test/Linker/link-flags.ll10
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/test/Linker/link-flags.ll b/llvm/test/Linker/link-flags.ll
index d03503aa454..c901b699575 100644
--- a/llvm/test/Linker/link-flags.ll
+++ b/llvm/test/Linker/link-flags.ll
@@ -1,9 +1,7 @@
-; RUN: llvm-as %S/Inputs/linkage.b.ll -o %t.b.bc
-; RUN: llvm-as %S/Inputs/linkage.c.ll -o %t.c.bc
-; RUN: llvm-link -S %t.b.bc %t.c.bc | FileCheck %s -check-prefix=B -check-prefix=C -check-prefix=CU
-; RUN: llvm-link -S -only-needed %t.b.bc %t.c.bc | FileCheck %s -check-prefix=B -check-prefix=C -check-prefix=CN
-; RUN: llvm-link -S -internalize %t.b.bc %t.c.bc | FileCheck %s -check-prefix=B -check-prefix=CI
-; RUN: llvm-link -S -internalize -only-needed %t.b.bc %t.c.bc | FileCheck %s -check-prefix=B -check-prefix=CN
+; RUN: llvm-link -S %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileCheck %s -check-prefix=B -check-prefix=C -check-prefix=CU
+; RUN: llvm-link -S -only-needed %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileCheck %s -check-prefix=B -check-prefix=C -check-prefix=CN
+; RUN: llvm-link -S -internalize %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileCheck %s -check-prefix=B -check-prefix=CI
+; RUN: llvm-link -S -internalize -only-needed %S/Inputs/linkage.b.ll %S/Inputs/linkage.c.ll | FileCheck %s -check-prefix=B -check-prefix=CN
C-LABEL: @X = global i32 5
CI-LABEL: @X = internal global i32 5
OpenPOWER on IntegriCloud