repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Silence -Wunused-variable in release builds.
[llvm/stm8.git]
/
test
/
Transforms
/
Internalize
/
available_externally.ll
blob
a2cf23fb3909265b76002ebb5a8f228bdfb43d64
1
; RUN: opt < %s -internalize -internalize-public-api-list foo -S | FileCheck %s
2
3
; CHECK: define void @foo
4
define void @foo() {
5
ret void
6
}
7
8
; CHECK: define internal void @zed
9
define void @zed() {
10
ret void
11
}
12
13
; CHECK: define available_externally void @bar
14
define available_externally void @bar() {
15
ret void
16
}