llvm-6502/test/Transforms/GlobalOpt/2009-02-15-ResolveAlias.ll
2009-09-08 22:34:10 +00:00

13 lines
168 B
LLVM

; RUN: opt %s -globalopt -S | grep {define void @a}
define internal void @f() {
ret void
}
@a = alias void ()* @f
define void @g() {
call void()* @a()
ret void
}