1; RUN: opt < %s -globalopt -S | FileCheck %s 2 3@0 = global i32 0 4; CHECK-DAG: @0 = internal global i32 0 5 6@1 = private global i32 0 7; CHECK-DAG: @1 = private global i32 0 8 9define i32* @2() { 10 ret i32* @0 11} 12; CHECK-DAG: define internal fastcc i32* @2() 13 14define i32* @f() { 15entry: 16 call i32* @2() 17 ret i32* %0 18} 19 20define i32* @g() { 21entry: 22 ret i32* @1 23} 24