$ cat x.go
package main
import "os"
func main() { f(&os.Stdin) }
func f(x **os.File) { x.Close() }
$ gccgo x.go
$
gccgo compiles this program without error. However, Close is not in the method set of
**os.File.
$ gotype x.go
x.go:4:23: invalid operation: x (variable of type **os.File) has no field or method Close
This is the gccgo issue for the corresponding gc issue #6366.