Blame fix-ir-test.patch

5e2d467
diff --git a/ir_test.go b/ir_test.go
5e2d467
index 10f4968..afcc8fd 100644
5e2d467
--- a/ir_test.go
5e2d467
+++ b/ir_test.go
5e2d467
@@ -31,7 +31,7 @@ func testAttribute(t *testing.T, name string) {
5e2d467
 	fn.AddFunctionAttr(attr)
5e2d467
 	newattr := fn.GetEnumFunctionAttribute(kind)
5e2d467
 	if attr != newattr {
5e2d467
-		t.Errorf("got attribute mask %d, want %d", newattr, attr)
5e2d467
+		t.Errorf("got attribute mask %d, want %d", newattr.C, attr.C)
5e2d467
 	}
5e2d467
 
5e2d467
 	text := mod.String()
5e2d467
@@ -42,7 +42,7 @@ func testAttribute(t *testing.T, name string) {
5e2d467
 	fn.RemoveEnumFunctionAttribute(kind)
5e2d467
 	newattr = fn.GetEnumFunctionAttribute(kind)
5e2d467
 	if !newattr.IsNil() {
5e2d467
-		t.Errorf("got attribute mask %d, want 0", newattr)
5e2d467
+		t.Errorf("got attribute mask %d, want 0", newattr.C)
5e2d467
 	}
5e2d467
 }
5e2d467