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

int %foo() { ret int 1 }

int %test() {
	call int %test()
	ret int %0
}

int %bar() { ret int 2 }