aboutsummaryrefslogtreecommitdiffstats
path: root/test/Linker/comdat7.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/Linker/comdat7.ll')
-rw-r--r--test/Linker/comdat7.ll9
1 files changed, 4 insertions, 5 deletions
diff --git a/test/Linker/comdat7.ll b/test/Linker/comdat7.ll
index c3ff3f6..d7e5e2d 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!