You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
422 B
22 lines
422 B
7 months ago
|
; RUN: opt < %s -deadargelim -S | FileCheck %s
|
||
|
|
||
|
; rdar://11546243
|
||
|
%struct.A = type { i8 }
|
||
|
|
||
|
define available_externally void @_Z17externallyDefinedP1A(%struct.A* %a) {
|
||
|
entry:
|
||
|
call void @_Z3foov()
|
||
|
ret void
|
||
|
}
|
||
|
|
||
|
declare void @_Z3foov()
|
||
|
|
||
|
define void @_Z4testP1A(%struct.A* %a) {
|
||
|
; CHECK: @_Z4testP1A
|
||
|
; CHECK: @_Z17externallyDefinedP1A(%struct.A* %a)
|
||
|
|
||
|
entry:
|
||
|
call void @_Z17externallyDefinedP1A(%struct.A* %a)
|
||
|
ret void
|
||
|
}
|