summaryrefslogtreecommitdiff
path: root/test/BugPoint/crash-narrowfunctiontest.ll
blob: ef0db8d980b61967f99553df6fe0c348b23339f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
; Test that bugpoint can narrow down the testcase to the important function
;
; RUN: bugpoint %s -bugpoint-crashcalls

define i32 @foo() { ret i32 1 }

define i32 @test() {
	call i32 @test()
	ret i32 %1
}

define i32 @bar() { ret i32 2 }