mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Add test for r127138.
llvm-svn: 127172
This commit is contained in:
parent
323db6bb99
commit
864a710c16
16
test/Transforms/Internalize/available_externally.ll
Normal file
16
test/Transforms/Internalize/available_externally.ll
Normal file
@ -0,0 +1,16 @@
|
||||
; RUN: opt < %s -internalize -internalize-public-api-list foo -S | FileCheck %s
|
||||
|
||||
; CHECK: define void @foo
|
||||
define void @foo() {
|
||||
ret void
|
||||
}
|
||||
|
||||
; CHECK: define internal void @zed
|
||||
define void @zed() {
|
||||
ret void
|
||||
}
|
||||
|
||||
; CHECK: define available_externally void @bar
|
||||
define available_externally void @bar() {
|
||||
ret void
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user