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