1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00
llvm-mirror/test/Transforms/Internalize/available_externally.ll

17 lines
335 B
LLVM
Raw Normal View History

2011-03-07 22:28:14 +01:00
; RUN: opt < %s -internalize -internalize-public-api-list foo -S | FileCheck %s
; CHECK-LABEL: define void @foo(
2011-03-07 22:28:14 +01:00
define void @foo() {
ret void
}
; CHECK-LABEL: define internal void @zed(
2011-03-07 22:28:14 +01:00
define void @zed() {
ret void
}
; CHECK-LABEL: define available_externally void @bar(
2011-03-07 22:28:14 +01:00
define available_externally void @bar() {
ret void
}