From a023f509403b314b94620c25fd387c99479125ae Mon Sep 17 00:00:00 2001 From: Rafael Espindola Date: Thu, 23 Oct 2014 19:36:21 +0000 Subject: [PATCH] Cleanup this test a bit. Use simpler names and remove unnecessary fields. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220499 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/comdat7.ll | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/test/Linker/comdat7.ll b/test/Linker/comdat7.ll index c3ff3f6cd7f..d7e5e2d0a1a 100644 --- a/test/Linker/comdat7.ll +++ b/test/Linker/comdat7.ll @@ -1,9 +1,8 @@ -; RUN: not llvm-link %s %p/Inputs/comdat5.ll -S -o - 2>&1 | FileCheck %s -target datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32" -target triple = "i686-pc-windows-msvc" +; RUN: not llvm-link %s %s -S -o - 2>&1 | FileCheck %s -$"\01??_7S@@6B@" = comdat largest -define void @"\01??_7S@@6B@"() { +$c1 = comdat largest + +define void @c1() comdat $c1 { ret void } ; CHECK: GlobalVariable required for data dependent selection! -- 2.34.1