Inline a small test file.
authorRui Ueyama <ruiu@google.com>
Tue, 3 Apr 2018 22:38:56 +0000 (22:38 +0000)
committerRui Ueyama <ruiu@google.com>
Tue, 3 Apr 2018 22:38:56 +0000 (22:38 +0000)
llvm-svn: 329124

lld/test/ELF/Inputs/weak-and-strong-undef.s [deleted file]
lld/test/ELF/weak-and-strong-undef.s

diff --git a/lld/test/ELF/Inputs/weak-and-strong-undef.s b/lld/test/ELF/Inputs/weak-and-strong-undef.s
deleted file mode 100644 (file)
index a5e476d..0000000
+++ /dev/null
@@ -1 +0,0 @@
-        .weak foo
index db93470..32ce649 100644 (file)
@@ -1,6 +1,6 @@
 # REQUIRES: x86
 # RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t1.o
-# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %p/Inputs/weak-and-strong-undef.s -o %t2.o
+# RUN: echo ".weak foo" | llvm-mc -filetype=obj -triple=x86_64-pc-linux - -o %t2.o
 # RUN: not ld.lld %t1.o %t2.o -o %t 2>&1 | FileCheck %s
 # RUN: not ld.lld %t2.o %t1.o -o %t 2>&1 | FileCheck %s