2012-02-16 21:49:59 -07:00
|
|
|
// errorcheck
|
2010-07-26 18:34:17 -06:00
|
|
|
|
2016-04-10 15:32:26 -06:00
|
|
|
// Copyright 2010 The Go Authors. All rights reserved.
|
2010-07-26 18:34:17 -06:00
|
|
|
// Use of this source code is governed by a BSD-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
|
|
|
// Used to crash; issue 961.
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
type ByteSize float64
|
|
|
|
const (
|
|
|
|
_ = iota; // ignore first value by assigning to blank identifier
|
2013-02-01 21:10:02 -07:00
|
|
|
KB ByteSize = 1<<(10*X) // ERROR "undefined" "is not a constant|as type ByteSize"
|
2010-07-26 18:34:17 -06:00
|
|
|
)
|