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:
Devang Patel 2008-09-02 20:58:16 +00:00
parent 94bdae14ba
commit 9018f569be
2 changed files with 18 additions and 0 deletions

View 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
}

View 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
}