Skip to content

Instantly share code, notes, and snippets.

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)