OSDN Git Service

Use the attribute group reference instead of the attribute directly.
authorBill Wendling <isanbard@gmail.com>
Wed, 20 Feb 2013 07:48:23 +0000 (07:48 +0000)
committerBill Wendling <isanbard@gmail.com>
Wed, 20 Feb 2013 07:48:23 +0000 (07:48 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@175609 91177308-0d34-0410-b5e6-96231b3b80d8

test/Bindings/Ocaml/vmcore.ml

index 61be4b7..b49bab9 100644 (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;