1// errorcheck -d=panic 2 3// Copyright 2017 The Go Authors. All rights reserved. 4// Use of this source code is governed by a BSD-style 5// license that can be found in the LICENSE file. 6 7package main 8 9const x = 6e5518446744 // ERROR "malformed constant: 6e5518446744" 10const _ = x * x 11const _ = 1e-1000000000 12const _ = 1e+1000000000 // ERROR "malformed constant: 1e\+1000000000" 13