From d9c28d76af4c23e3a131ddd4ca28b64d929828a5 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Wed, 20 Feb 2013 07:48:23 +0000 Subject: [PATCH] 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 --- test/Bindings/Ocaml/vmcore.ml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Bindings/Ocaml/vmcore.ml b/test/Bindings/Ocaml/vmcore.ml index 61be4b77035..b49bab9ab17 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; -- 2.34.1