Home | History | Annotate | Download | only in fixedbugs
      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 
     10 package main
     11 
     12 import "math"
     13 
     14 func sqrt() {
     15 	math.Sqrt(2.0)
     16 }
     17