llvm-project/llvm/test/Regression/BugPoint/crash-narrowfunctiontest.ll
Reid Spencer 640509924e Update tests that need to be run through llvm-upgrade. This is necessary
for upcoming changes to the llvm assembly grammar.

llvm-svn: 32768
2006-12-29 20:01:32 +00:00

15 lines
256 B
LLVM

; Test that bugpoint can narrow down the testcase to the important function
;
; RUN: llvm-upgrade < %s > %t1.ll
; RUN: bugpoint %t1.ll -bugpoint-crashcalls
int %foo() { ret int 1 }
int %test() {
call int %test()
ret int %0
}
int %bar() { ret int 2 }