mirror of
https://github.com/golang/go
synced 2024-11-24 20:50:11 -07:00
52e6d7c622
Fixes #7346. LGTM=rsc R=rsc, iant, khr CC=golang-codereviews https://golang.org/cl/69050044
15 lines
304 B
Go
15 lines
304 B
Go
// compile
|
|
|
|
// Copyright 2014 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.
|
|
|
|
// issue 7346 : internal error "doasm" error due to checknil
|
|
// of a nil literal.
|
|
|
|
package main
|
|
|
|
func main() {
|
|
_ = *(*int)(nil)
|
|
}
|