diff options
Diffstat (limited to 'test/Linker/comdat7.ll')
-rw-r--r-- | test/Linker/comdat7.ll | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/Linker/comdat7.ll b/test/Linker/comdat7.ll new file mode 100644 index 0000000000..c3ff3f6cd7 --- /dev/null +++ b/test/Linker/comdat7.ll @@ -0,0 +1,9 @@ +; 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" + +$"\01??_7S@@6B@" = comdat largest +define void @"\01??_7S@@6B@"() { + ret void +} +; CHECK: GlobalVariable required for data dependent selection! |