diff options
Diffstat (limited to 'test/fixedbugs/issue4326.dir/q2.go')
-rw-r--r-- | test/fixedbugs/issue4326.dir/q2.go | 11 |
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 000000000..075e2b21e --- /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") + } +} |