mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-28 09:31:03 +00:00
Function notes tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55648 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
94bdae14ba
commit
9018f569be
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…
x
Reference in New Issue
Block a user