blob: 42168b06294111dc9d4d45aff8408439cde26160 [file] [log] [blame]
Dan Gohman5bb7c7c2009-09-08 22:34:10 +00001; RUN: opt %s -globalopt -S | grep internal | count 2
Duncan Sands0c7b6332009-03-06 10:21:56 +00002
3global i32 0
4define i32* @1() {
5 ret i32* @0
6}
7define i32* @f() {
8entry:
9 call i32* @1()
10 ret i32* %0
11}