Add a test for the -suppress-warnings option.
[oota-llvm.git] / test / Linker / comdat4.ll
1 ; RUN: not llvm-link %s %p/Inputs/comdat3.ll -S -o - 2>&1 | FileCheck %s
2
3 $foo = comdat noduplicates
4 @foo = global i64 43, comdat $foo
5 ; CHECK: Linking COMDATs named 'foo': noduplicates has been violated!