From 83fbd8dcd218e24bc2f9249fa42891ae3c524529 Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Mon, 8 Dec 2014 17:22:06 +0000 Subject: [PATCH] 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 --- test/Linker/Inputs/comdat9.ll | 5 ----- test/Linker/comdat9.ll | 8 +++++++- 2 files changed, 7 insertions(+), 6 deletions(-) delete mode 100644 test/Linker/Inputs/comdat9.ll 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 -- 2.34.1