summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue7346.go
blob: 21fab2d70bfe84df5e1f5704c076df5508fa8016 (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)
}