gcc/testsuite/go.test/test/fixedbugs/issue5291.dir/prog.go
raw| 1 | // Copyright 2013 The Go Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
| 5 | package main |
| 6 | |
| 7 | import ( |
| 8 | "./pkg1" |
| 9 | ) |
| 10 | |
| 11 | type message struct { // Presence of this creates a crash |
| 12 | data pkg1.Data |
| 13 | } |
| 14 | |
| 15 | func main() { |
| 16 | pkg1.CrashCall() |
| 17 | } |