mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 22:50:47 +00:00
e390b3245f
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127172 91177308-0d34-0410-b5e6-96231b3b80d8
17 lines
314 B
LLVM
17 lines
314 B
LLVM
; 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
|
|
}
|