From: Rafael Espindola Date: Mon, 8 Dec 2014 17:22:06 +0000 (+0000) Subject: Simplify the test. NFC. X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=83fbd8dcd218e24bc2f9249fa42891ae3c524529;p=oota-llvm.git Simplify the test. NFC. Since the main file was empty, we can just copy the content of the Input file into it. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223666 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Linker/Inputs/comdat9.ll b/test/Linker/Inputs/comdat9.ll deleted file mode 100644 index 679dbde98c3..00000000000 --- a/test/Linker/Inputs/comdat9.ll +++ /dev/null @@ -1,5 +0,0 @@ -$c = comdat any -@a = alias void ()* @f -define internal void @f() comdat $c { - ret void -} diff --git a/test/Linker/comdat9.ll b/test/Linker/comdat9.ll index eada8c62bef..0e9c217180d 100644 --- a/test/Linker/comdat9.ll +++ b/test/Linker/comdat9.ll @@ -1,4 +1,10 @@ -; RUN: llvm-link %s %p/Inputs/comdat9.ll -S -o - | FileCheck %s +; RUN: llvm-link %s -S -o - | FileCheck %s + +$c = comdat any +@a = alias void ()* @f +define internal void @f() comdat $c { + ret void +} ; CHECK: $c = comdat any ; CHECK: @a = alias void ()* @f