diff options
author | Devang Patel <dpatel@apple.com> | 2008-09-02 20:58:16 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-09-02 20:58:16 +0000 |
commit | 9018f569be7fc30105c00d7dd482baa67a0511d6 (patch) | |
tree | fd2010f05482f4e165210ec3963da9656e6e3179 /test/Assembler/2008-09-02-FunctionNotes.ll | |
parent | 94bdae14ba6672f5afb15310424efeba21a01c77 (diff) | |
download | external_llvm-9018f569be7fc30105c00d7dd482baa67a0511d6.zip external_llvm-9018f569be7fc30105c00d7dd482baa67a0511d6.tar.gz external_llvm-9018f569be7fc30105c00d7dd482baa67a0511d6.tar.bz2 |
Function notes tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@55648 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Assembler/2008-09-02-FunctionNotes.ll')
-rw-r--r-- | test/Assembler/2008-09-02-FunctionNotes.ll | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/Assembler/2008-09-02-FunctionNotes.ll b/test/Assembler/2008-09-02-FunctionNotes.ll new file mode 100644 index 0000000..2751b64 --- /dev/null +++ b/test/Assembler/2008-09-02-FunctionNotes.ll @@ -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 +} + |