2016-06-30 02:31:48 +08:00
|
|
|
; RUN: not llvm-link -disable-debug-info-type-map -o /dev/null %s 2>&1 | FileCheck %s
|
2015-03-26 07:22:10 +08:00
|
|
|
|
2015-03-31 11:07:23 +08:00
|
|
|
; CHECK: broken.ll: error: input module is broken!
|
2015-03-26 07:22:10 +08:00
|
|
|
define i32 @foo(i32 %v) {
|
|
|
|
%first = add i32 %v, %second
|
|
|
|
%second = add i32 %v, 3
|
|
|
|
ret i32 %first
|
|
|
|
}
|