From 39066cae68f3854364dd9a49af8a1e1852d592cb Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Fri, 27 Nov 2015 03:50:34 +0000 Subject: [PATCH] Test both input file orders. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@254186 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/tools/gold/X86/available-externally.ll | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/test/tools/gold/X86/available-externally.ll b/test/tools/gold/X86/available-externally.ll index e77ea65a69b..d47a536dc09 100644 --- a/test/tools/gold/X86/available-externally.ll +++ b/test/tools/gold/X86/available-externally.ll @@ -6,6 +6,11 @@ ; RUN: -shared %t.o %t2.o -o %t3.o ; RUN: llvm-dis %t3.o -o - | FileCheck %s +; RUN: %gold -plugin %llvmshlibdir/LLVMgold.so \ +; RUN: --plugin-opt=emit-llvm \ +; RUN: -shared %t2.o %t.o -o %t3.o +; RUN: llvm-dis %t3.o -o - | FileCheck %s + define void @foo() { call void @bar() call void @zed() @@ -18,5 +23,5 @@ define available_externally void @zed() { ret void } -; CHECK: define available_externally void @bar() { -; CHECK: define void @zed() { +; CHECK-DAG: define available_externally void @bar() { +; CHECK-DAG: define void @zed() { -- 2.34.1