1; RUN: opt < %s -deadargelim -S | FileCheck %s 2 3; rdar://11546243 4%struct.A = type { i8 } 5 6define available_externally void @_Z17externallyDefinedP1A(%struct.A* %a) { 7entry: 8 call void @_Z3foov() 9 ret void 10} 11 12declare void @_Z3foov() 13 14define void @_Z4testP1A(%struct.A* %a) { 15; CHECK: @_Z4testP1A 16; CHECK: @_Z17externallyDefinedP1A(%struct.A* %a) 17 18entry: 19 call void @_Z17externallyDefinedP1A(%struct.A* %a) 20 ret void 21} 22