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