/
githubmirror
/
go
Обзор
Документация
Войти
/
githubmirror
/
go
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
test/fixedbugs/issue16804.go
16 строк
331 B
Martin Möhrmann
cmd/compile: fix compilation of math.Sqrt when used as a statement
21 авг 2016, 19:49
21 авг 2016, 19:49
6a393dc
Код
Авторство
О чём код?
// compile // 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. // Issue 16804: internal error for math.Sqrt as statement // rather than expression package main import "math" func sqrt() { math.Sqrt(2.0) }