summaryrefslogtreecommitdiff
path: root/test/fixedbugs/issue7346.go
blob: dd5ea222f1f2940e32e7269dd78bf6e1a0bfedf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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)
}