test/fixedbugs/bug503.go
raw| 1 | // compile |
| 2 | |
| 3 | // Copyright 2017 The Go Authors. All rights reserved. |
| 4 | // Use of this source code is governed by a BSD-style |
| 5 | // license that can be found in the LICENSE file. |
| 6 | |
| 7 | // gccgo crashed compiling this file, due to failing to correctly emit |
| 8 | // the type descriptor for a named alias. |
| 9 | |
| 10 | package p |
| 11 | |
| 12 | type entry = struct { |
| 13 | a, b, c int |
| 14 | } |
| 15 | |
| 16 | var V entry |