1
0
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:
Devang Patel 2008-09-02 20:58:16 +00:00
parent 4b52a398c3
commit 468829b883
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
}