diff options
Diffstat (limited to 'llvm/test/Bitcode/attributes.ll')
-rw-r--r-- | llvm/test/Bitcode/attributes.ll | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/llvm/test/Bitcode/attributes.ll b/llvm/test/Bitcode/attributes.ll index 3aac9ee64ce..84630cd4bf8 100644 --- a/llvm/test/Bitcode/attributes.ll +++ b/llvm/test/Bitcode/attributes.ll @@ -204,7 +204,7 @@ define void @f34() ; CHECK: define void @f34() { call void @nobuiltin() nobuiltin -; CHECK: call void @nobuiltin() #37 +; CHECK: call void @nobuiltin() #38 ret void; } @@ -357,6 +357,11 @@ define void @f60() willreturn ret void } +; CHECK: define void @f61() #37 +define void @f61() nofree { + ret void +} + ; CHECK: attributes #0 = { noreturn } ; CHECK: attributes #1 = { nounwind } ; CHECK: attributes #2 = { readnone } @@ -394,4 +399,5 @@ define void @f60() willreturn ; CHECK: attributes #34 = { sanitize_hwaddress } ; CHECK: attributes #35 = { shadowcallstack } ; CHECK: attributes #36 = { willreturn } -; CHECK: attributes #37 = { nobuiltin } +; CHECK: attributes #37 = { nofree } +; CHECK: attributes #38 = { nobuiltin } |