aboutsummaryrefslogtreecommitdiff
path: root/test/bugs
diff options
context:
space:
mode:
Diffstat (limited to 'test/bugs')
-rw-r--r--test/bugs/bug121.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/bugs/bug121.go b/test/bugs/bug121.go
index cc960e318c..cea6f1b701 100644
--- a/test/bugs/bug121.go
+++ b/test/bugs/bug121.go
@@ -21,5 +21,5 @@ func (s *S) g() {}
func (s *S) h() {} // here we can't write (s *S) T either
func main() {
- var i I = new(S);
+ var i I = new(*S);
}