aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/Linker/2002-07-17-LinkTest2.ll3
-rw-r--r--test/Linker/testlink1.ll3
2 files changed, 4 insertions, 2 deletions
diff --git a/test/Linker/2002-07-17-LinkTest2.ll b/test/Linker/2002-07-17-LinkTest2.ll
index 322f380..c1db063 100644
--- a/test/Linker/2002-07-17-LinkTest2.ll
+++ b/test/Linker/2002-07-17-LinkTest2.ll
@@ -1,7 +1,6 @@
; This fails linking when it is linked with an empty file as the first object file
-; RUN: touch Output/LinkTest1.ll
-; RUN: as Output/LinkTest1.ll
+; RUN: as > Output/LinkTest1.bc < /dev/null
; RUN: as < %s > Output/LinkTest2.bc
; RUN: link Output/LinkTest[12].bc
diff --git a/test/Linker/testlink1.ll b/test/Linker/testlink1.ll
index 12cf652..dd89d8b 100644
--- a/test/Linker/testlink1.ll
+++ b/test/Linker/testlink1.ll
@@ -1,3 +1,6 @@
+; RUN: as < %s > Output/%s.bc
+; RUN: as < testlink2.ll > Output/testlink2.bc
+; RUN: link Output/%s.bc Output/testlink2.bc
%MyVar = uninitialized global int
%MyIntList = global { \2 *, int } { { \2, int }* null, int 17 }