mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-02 00:42:52 +01:00
864a710c16
llvm-svn: 127172
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
|
|
}
|