Dan Gohman | 3c7d308 | 2009-09-11 18:01:28 +0000 | [diff] [blame^] | 1 | ; RUN: opt < %s -globalopt -S | grep {define void @a} |
Duncan Sands | e7f431f | 2009-02-15 09:56:08 +0000 | [diff] [blame] | 2 | |
3 | define internal void @f() { | ||||
4 | ret void | ||||
5 | } | ||||
6 | |||||
7 | @a = alias void ()* @f | ||||
8 | |||||
9 | define void @g() { | ||||
10 | call void()* @a() | ||||
11 | ret void | ||||
12 | } |