mirror of
https://github.com/golang/go
synced 2024-11-13 20:00:23 -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")
|
||
|
}
|
||
|
}
|