mirror of
https://github.com/golang/go
synced 2024-11-05 22:46:12 -07:00
57076b8e6e
This pair of packages caused a crash in gollvm, due to a glitch in the way the front end handles empty/non-name parameters for functions that are inline candidates. Updates #31637. Change-Id: I571c0658a00974dd36025e571638c0c836a3cdfd Reviewed-on: https://go-review.googlesource.com/c/go/+/173617 Run-TryBot: Benny Siegert <bsiegert@gmail.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org>
20 lines
266 B
Go
20 lines
266 B
Go
// Copyright 2019 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
|
|
|
|
import "./a"
|
|
|
|
type No struct {
|
|
a.EDO
|
|
}
|
|
|
|
func X() No {
|
|
return No{}
|
|
}
|
|
|
|
func main() {
|
|
X()
|
|
}
|