projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
AArch64/ARM64: put annotation in test
[oota-llvm.git]
/
test
/
Other
/
link-opts.ll
1
;RUN: opt -S -std-link-opts < %s | FileCheck %s
2
; Simple test to check that -std-link-opts keeps only the main function.
3
4
; CHECK-NOT: define
5
; CHECK: define void @main
6
; CHECK-NOT: define
7
define void @main() {
8
ret void
9
}
10
11
define void @foo() {
12
ret void
13
}