1 ; RUN: opt < %s -internalize -internalize-public-api-list foo -S | FileCheck %s 2 3 ; CHECK: define void @foo 4 define void @foo() { 5 ret void 6 } 7 8 ; CHECK: define internal void @zed 9 define void @zed() { 10 ret void 11 } 12 13 ; CHECK: define available_externally void @bar 14 define available_externally void @bar() { 15 ret void 16 } 17