mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
Function notes tests.
llvm-svn: 55648
This commit is contained in:
parent
4b52a398c3
commit
468829b883
11
test/Assembler/2008-09-02-FunctionNotes.ll
Normal file
11
test/Assembler/2008-09-02-FunctionNotes.ll
Normal file
@ -0,0 +1,11 @@
|
||||
; Test function notes
|
||||
; RUN: llvm-as < %s -f -o /dev/null
|
||||
|
||||
define void @fn1() notes(inline=always) {
|
||||
ret void
|
||||
}
|
||||
|
||||
define void @fn2() notes(inline=never) {
|
||||
ret void
|
||||
}
|
||||
|
7
test/Assembler/2008-09-02-FunctionNotes2.ll
Normal file
7
test/Assembler/2008-09-02-FunctionNotes2.ll
Normal file
@ -0,0 +1,7 @@
|
||||
; Test function notes
|
||||
; RUN: not llvm-as %s |& grep "only one inline note"
|
||||
|
||||
define void @fn1() notes(inline=always,inline=never) {
|
||||
ret void
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user