blob: c10ee7cbf64b9dff45d145d84595e1c316c4246b [file] [log] [blame]
; RUN: llvm-as < %s | opt -globalopt | llvm-dis | not grep global
%G = internal global void ()* null
implementation
internal void %Actual() {
ret void
}
void %init() {
store void()* %Actual, void()** %G
ret void
}
void %doit() {
%FP = load void()** %G
call void %FP()
ret void
}