This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/bindings/go/llvm/ir_test.go b/bindings/go/llvm/ir_test.go | |
index 10f4968..92cab1f 100644 | |
--- a/bindings/go/llvm/ir_test.go | |
+++ b/bindings/go/llvm/ir_test.go | |
@@ -31,7 +31,7 @@ func testAttribute(t *testing.T, name string) { | |
fn.AddFunctionAttr(attr) | |
newattr := fn.GetEnumFunctionAttribute(kind) | |
if attr != newattr { | |
- t.Errorf("got attribute mask %d, want %d", newattr, attr) | |
+ t.Errorf("got attribute mask %p, want %p", newattr.C, attr.C) |