mirror of
https://github.com/golang/go
synced 2024-11-06 01:36:10 -07:00
12 lines
136 B
Go
12 lines
136 B
Go
|
package main
|
||
|
|
||
|
import "./q1"
|
||
|
|
||
|
func main() {
|
||
|
x := 1
|
||
|
y := q1.Deref(&x)
|
||
|
if y != 1 {
|
||
|
panic("y != 1")
|
||
|
}
|
||
|
}
|