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