mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-12 13:30:51 +00:00
Add test for r127138.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@127172 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e54f64899f
commit
e390b3245f
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…
Reference in New Issue
Block a user