1 ; RUN: opt -inline -mergefunc -disable-output < %s
3 ; This tests for a bug where the inliner kept the functions in a ValueMap after
4 ; it had completed and a ModulePass started to run. LLVM would crash deleting
5 ; a function that was still a key in the ValueMap.
7 define internal fastcc void @list_Cdr1918() nounwind inlinehint {
11 define internal fastcc void @list_PairSecond1927() nounwind inlinehint {
12 call fastcc void @list_Cdr1918() nounwind inlinehint
16 define internal fastcc void @list_Cdr3164() nounwind inlinehint {
20 define internal fastcc void @list_Nconc3167() nounwind inlinehint {
21 call fastcc void @list_Cdr3164() nounwind inlinehint
25 define void @term_Equal() nounwind {
26 call fastcc void @list_Cdr3164() nounwind inlinehint