repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git]
/
llvm
/
test
/
Linker
/
available_externally_over_decl.ll
blob
60f9acfccd359e938fc6f1a79890d16bfd245661
1
; RUN: llvm-link -S %s %p/Inputs/available_externally_over_decl.ll | FileCheck %s
2
3
declare void @f()
4
5
define available_externally void @g() {
6
ret void
7
}
8
9
define ptr @main() {
10
call void @g()
11
ret ptr @f
12
}
13
14
; CHECK-DAG: define available_externally void @g() {
15
; CHECK-DAG: define available_externally void @f() {