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