package pkg

import "sync"

func fn() {
	s := []int{}

	v := sync.Pool{}
	v.Put(s) // MATCH /Non-pointer type /
	v.Put(&s)

	p := &sync.Pool{}
	p.Put(s) // MATCH /Non-pointer type /
	p.Put(&s)
}

package pkg

import "sync"

func fn() {
	s := []int{}

	v := sync.Pool{}
	v.Put(s) // MATCH /non-pointer type/
	v.Put(&s)

	p := &sync.Pool{}
	p.Put(s) // MATCH /non-pointer type/
	p.Put(&s)
}

Fix tests for sync.Pool check
Fix tests for sync.Pool check
