Home | History | Annotate | Download | only in Linker
      1 ; RUN: not llvm-link -o /dev/null %s 2>&1 | FileCheck %s
      2 
      3 ; CHECK: broken.ll: error: input module is broken!
      4 define i32 @foo(i32 %v) {
      5   %first = add i32 %v, %second
      6   %second = add i32 %v, 3
      7   ret i32 %first
      8 }
      9