1; RUN: opt < %s -instcombine -S | grep call | not grep bitcast 2 3target datalayout = "e-p:32:32" 4target triple = "i686-pc-linux-gnu" 5 6 7define i32 @main() { 8entry: 9 %tmp = call i32 bitcast (i7* (i999*)* @ctime to i32 (i99*)*)( i99* null ) 10 ret i32 %tmp 11} 12 13define i7* @ctime(i999*) { 14entry: 15 %tmp = call i7* bitcast (i32 ()* @main to i7* ()*)( ) 16 ret i7* %tmp 17} 18