Linker: Drop superseded subprograms
[oota-llvm.git] / test / Linker / comdat7.ll
index c3ff3f6cd7fb6b6a273f69243a4a2b1cc063fecf..d7e5e2d0a1ab03f4c3e658f13fa252b7c25be537 100644 (file)
@@ -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!