From: Robert Griesemer Date: Mon, 14 Jul 2008 23:26:41 +0000 (-0700) Subject: - filed 6g crash bug X-Git-Tag: weekly.2009-11-06~3502 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=08b5993b8e8146c60fdb26e9a564feea39890aee;p=gostls13.git - filed 6g crash bug SVN=127093 --- diff --git a/test/bugs/bug066.go b/test/bugs/bug066.go new file mode 100644 index 0000000000..792e265f60 --- /dev/null +++ b/test/bugs/bug066.go @@ -0,0 +1,27 @@ +// $G $D/$F.go + +// Copyright 2009 The Go Authors. All rights reserved. +// Use of this source code is governed by a BSD-style +// license that can be found in the LICENSE file. + +package main + + +type Scope struct { + entries *map[string] *Object; +} + + +type Type struct { + scope *Scope; +} + + +type Object struct { + typ *Type; +} + + +func Lookup(scope *Scope) *Object { + return scope.entries["foo"]; +}