mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 04:30:23 +00:00
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:
parent
fdf45175a8
commit
d9c28d76af
@ -860,7 +860,8 @@ let test_builder () =
|
|||||||
group "function attribute";
|
group "function attribute";
|
||||||
begin
|
begin
|
||||||
ignore (add_function_attr fn Attribute.UWTable);
|
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);
|
insist ([Attribute.UWTable] = function_attr fn);
|
||||||
end;
|
end;
|
||||||
|
Loading…
Reference in New Issue
Block a user