diff --git a/pointers_test.go b/pointers_test.go index d865d6d..58b7cbb 100644 --- a/pointers_test.go +++ b/pointers_test.go @@ -1220,6 +1220,28 @@ int* foo; `, exp: ` var foo []int32 +`, + configFuncs: []configFunc{ + withIdent(IdentConfig{ + Name: "foo", + Type: HintSlice, + }), + }, + }, + { + name: "slice override global struct", + skip: true, // FIXME + src: ` +struct bar { + int a; +}; +struct bar* foo; +`, + exp: ` +type bar struct { + A int32 +} +var foo []bar `, configFuncs: []configFunc{ withIdent(IdentConfig{