/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/bug108.go
11 строк
268 B
Robert Griesemer
cmd/compile: give informative error instead of "stupid shift"
24 фев 2016, 01:31
24 фев 2016, 01:31
d1cc7f7
Код
Авторство
О чём код?
// errorcheck // Copyright 2009 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 func f() { v := 1 << 1025; // ERROR "overflow|shift count too large" _ = v }