1; RUN: opt < %s -inline | llvm-dis 2 3target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64-f80:128:128" 4target triple = "i386-apple-darwin10.0" 5 6define i32 @main(i32 %argc, i8** %argv) nounwind ssp { 7entry: 8 call fastcc void @c() nounwind 9 unreachable 10} 11 12define internal fastcc void @a() nounwind ssp { 13entry: 14 %al = alloca [3 x i32], align 4 15 %0 = getelementptr inbounds [3 x i32], [3 x i32]* %al, i32 0, i32 2 16 17 call fastcc void @c() nounwind 18 unreachable 19} 20 21define internal fastcc void @b() nounwind ssp { 22entry: 23 tail call fastcc void @a() nounwind ssp 24 unreachable 25} 26 27define internal fastcc void @c() nounwind ssp { 28entry: 29 call fastcc void @b() nounwind 30 unreachable 31} 32