summaryrefslogtreecommitdiffstats
path: root/llvm/test/Bitcode/attributes.ll
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/Bitcode/attributes.ll')
-rw-r--r--llvm/test/Bitcode/attributes.ll10
1 files changed, 10 insertions, 0 deletions
diff --git a/llvm/test/Bitcode/attributes.ll b/llvm/test/Bitcode/attributes.ll
index a0bc66642f7..0cf0745175e 100644
--- a/llvm/test/Bitcode/attributes.ll
+++ b/llvm/test/Bitcode/attributes.ll
@@ -262,6 +262,16 @@ define void @f44() argmemonly
ret void;
}
+; CHECK: define "string_attribute" void @f45(i32 "string_attribute")
+define "string_attribute" void @f45(i32 "string_attribute") {
+ ret void
+}
+
+; CHECK: define "string_attribute_with_value"="value" void @f46(i32 "string_attribute_with_value"="value")
+define "string_attribute_with_value"="value" void @f46(i32 "string_attribute_with_value"="value") {
+ ret void
+}
+
; CHECK: attributes #0 = { noreturn }
; CHECK: attributes #1 = { nounwind }
; CHECK: attributes #2 = { readnone }
OpenPOWER on IntegriCloud