blob: 5e639fd8222e9c9e531d99d6e4347efd1a91cfd8 [file] [log] [blame]
Dan Gohman3c7d3082009-09-11 18:01:28 +00001; RUN: opt < %s -globalopt -S | grep {define void @a}
Duncan Sandse7f431f2009-02-15 09:56:08 +00002
3define internal void @f() {
4 ret void
5}
6
7@a = alias void ()* @f
8
9define void @g() {
10 call void()* @a()
11 ret void
12}