From 5222b02c49d7ad91a5744869dbe691e8839dd75b Mon Sep 17 00:00:00 2001 From: Rick Winfrey Date: Tue, 24 Oct 2017 14:19:49 -0700 Subject: [PATCH] Add pointer / reference var assignment --- test/fixtures/go/assignment-statements.A.go | 1 + test/fixtures/go/assignment-statements.B.go | 1 + 2 files changed, 2 insertions(+) diff --git a/test/fixtures/go/assignment-statements.A.go b/test/fixtures/go/assignment-statements.A.go index 072782b16..9633bfa9e 100644 --- a/test/fixtures/go/assignment-statements.A.go +++ b/test/fixtures/go/assignment-statements.A.go @@ -5,4 +5,5 @@ a = 1 b, c += 2, 3 d *= 3 e += 1 +var pointer *Point3D = &Point3D{y: 1000} } diff --git a/test/fixtures/go/assignment-statements.B.go b/test/fixtures/go/assignment-statements.B.go index 2e6b444ce..3945d0dce 100644 --- a/test/fixtures/go/assignment-statements.B.go +++ b/test/fixtures/go/assignment-statements.B.go @@ -5,4 +5,5 @@ x = 1 y, c += 2, 3 z *= 3 h += 1 +var pointer *Point2D = &Point2D{x: 1000} }