summaryrefslogtreecommitdiffstats
path: root/test/fixedbugs/bug318.go
blob: 93de2d847108a9c49d3879cd15301044df07909c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// errorcheck

// Copyright 2011 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 1411.

package main

const ui uint = 0
const i int = ui // ERROR "type"