summaryrefslogtreecommitdiff
path: root/test/fixedbugs/bug098.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixedbugs/bug098.go')
-rw-r--r--test/fixedbugs/bug098.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/fixedbugs/bug098.go b/test/fixedbugs/bug098.go
index 8e790a709..09daf3f89 100644
--- a/test/fixedbugs/bug098.go
+++ b/test/fixedbugs/bug098.go
@@ -10,8 +10,8 @@ type A []int;
type M map[int] int;
func main() {
- var a *A = &A{0};
- var m *M = &M{0 : 0}; // should be legal to use & here for consistency with other composite constructors (prev. line)
+ var a *A = &A(0);
+ var m *M = &M(0 : 0); // should be legal to use & here for consistency with other composite constructors (prev. line)
}
/*