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
This commit is contained in:
Bill Wendling 2013-02-20 07:48:23 +00:00
parent fdf45175a8
commit d9c28d76af

View File

@ -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;