aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2013-02-20 07:48:23 +0000
committerBill Wendling <isanbard@gmail.com>2013-02-20 07:48:23 +0000
commitd9c28d76af4c23e3a131ddd4ca28b64d929828a5 (patch)
treecc15f19af5aaac08ddd9c45938aad873ca23be50 /test
parentfdf45175a8444c421c03627c139777d1de48e516 (diff)
downloadexternal_llvm-d9c28d76af4c23e3a131ddd4ca28b64d929828a5.zip
external_llvm-d9c28d76af4c23e3a131ddd4ca28b64d929828a5.tar.gz
external_llvm-d9c28d76af4c23e3a131ddd4ca28b64d929828a5.tar.bz2
Use the attribute group reference instead of the attribute directly.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175609 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r--test/Bindings/Ocaml/vmcore.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Bindings/Ocaml/vmcore.ml b/test/Bindings/Ocaml/vmcore.ml
index 61be4b7..b49bab9 100644
--- a/test/Bindings/Ocaml/vmcore.ml
+++ b/test/Bindings/Ocaml/vmcore.ml
@@ -860,7 +860,8 @@ let test_builder () =
group "function attribute";
begin
ignore (add_function_attr fn Attribute.UWTable);
- (* RUN: grep "X7.*uwtable" < %t.ll
+ (* RUN: grep "X7.*#0" < %t.ll
+ * RUN: grep "attributes #0 = .*uwtable.*" < %t.ll
*)
insist ([Attribute.UWTable] = function_attr fn);
end;