forked from OSchip/llvm-project
9 lines
210 B
LLVM
9 lines
210 B
LLVM
|
; RUN: not llvm-link -o /dev/null %s 2>&1 | FileCheck %s
|
||
|
|
||
|
; CHECK: input module '{{.*}}broken.ll' is broken
|
||
|
define i32 @foo(i32 %v) {
|
||
|
%first = add i32 %v, %second
|
||
|
%second = add i32 %v, 3
|
||
|
ret i32 %first
|
||
|
}
|