1; RUN: rm -rf %t && split-file %s %t 2; RUN: not llvm-link %t/diff-size.ll %t/diff-size-aux.ll -S -o - 2>&1 | FileCheck %s --check-prefix=DIFF_SIZE 3 4;--- diff-size.ll 5; DIFF_SIZE: Linking COMDATs named 'foo': SameSize violated! 6target datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32" 7target triple = "i686-pc-windows-msvc" 8 9$foo = comdat samesize 10@foo = global i32 42, comdat($foo) 11 12;--- diff-size-aux.ll 13target datalayout = "e-m:w-p:32:32-i64:64-f80:32-n8:16:32-S32" 14target triple = "i686-pc-windows-msvc" 15 16$foo = comdat samesize 17@foo = global i64 42, comdat($foo) 18