1// compile 2 3// Copyright 2016 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 7// Issue 16804: internal error for math.Sqrt as statement 8// rather than expression 9 10package main 11 12import "math" 13 14func sqrt() { 15 math.Sqrt(2.0) 16} 17