summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/issue17038.go
blob: 1b65ffc1f0eec68f2fdafe403bd64b4054368e15 (plain)
1
2
3
4
5
6
7
8
9
// errorcheck

// Copyright 2016 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

const A = complex(0()) // ERROR "cannot call non-function"