llvm.org GIT mirror llvm / e390b32
Add test for r127138. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127172 91177308-0d34-0410-b5e6-96231b3b80d8 Rafael Espindola 8 years ago
1 changed file(s) with 16 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 ; RUN: opt < %s -internalize -internalize-public-api-list foo -S | FileCheck %s
1
2 ; CHECK: define void @foo
3 define void @foo() {
4 ret void
5 }
6
7 ; CHECK: define internal void @zed
8 define void @zed() {
9 ret void
10 }
11
12 ; CHECK: define available_externally void @bar
13 define available_externally void @bar() {
14 ret void
15 }