summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue4326.dir/q2.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/issue4326.dir/q2.go')
-rw-r--r--test/fixedbugs/issue4326.dir/q2.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/fixedbugs/issue4326.dir/q2.go b/test/fixedbugs/issue4326.dir/q2.go
new file mode 100644
index 0000000..075e2b2
--- /dev/null
+++ b/test/fixedbugs/issue4326.dir/q2.go
@@ -0,0 +1,11 @@
+package main
+
+import "./q1"
+
+func main() {
+ x := 1
+ y := q1.Deref(&x)
+ if y != 1 {
+ panic("y != 1")
+ }
+}