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