<ol dir="auto">
<li>What version of Go are you using (go version)?</li>
</ol>
<ul dir="auto">
<li>1.4</li>
<li>tip +9ef10fde754f</li>
</ul>
<ol start="2" dir="auto">
<li>What operating system and processor architecture are you using?</li>
</ol>
<p dir="auto">OS X 10.10.1 amd64</p>
<ol start="3" dir="auto">
<li>What did you do?</li>
</ol>
<div class="highlight highlight-source-go notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="package main

func main() {
    _ = complex(0)
}"><pre class="notranslate"><span class="pl-k">package</span> main

<span class="pl-k">func</span> <span class="pl-en">main</span>() {
    <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-en">complex</span>(<span class="pl-c1">0</span>)
}</pre></div>
<p dir="auto"><a href="http://play.golang.org/p/BdgB06q5te" rel="nofollow">http://play.golang.org/p/BdgB06q5te</a></p>
<ol start="4" dir="auto">
<li>What did you expect to see?</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="prog.go:4: not enough arguments in call to complex
 [process exited with non-zero status]"><pre class="notranslate"><code class="notranslate">prog.go:4: not enough arguments in call to complex
 [process exited with non-zero status]
</code></pre></div>
<ol start="5" dir="auto">
<li>What did you see instead?</li>
</ol>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="prog.go:4: internal compiler error: fault
 [process exited with non-zero status]"><pre class="notranslate"><code class="notranslate">prog.go:4: internal compiler error: fault
 [process exited with non-zero status]
</code></pre></div>
<pre class="notranslate"><a href="http://play.golang.org/p/gOwL0S64NQ" rel="nofollow">http://play.golang.org/p/gOwL0S64NQ</a>

reported by lvd

package main

import (
    "fmt"
    "math"
)

func main() {
    for i := 0; i &lt; 4; i++ {
        ii := float64(i)
        e := ii * (math.Log(4/2) - math.Log(ii))
        fmt.Println(e, math.Jn(i, 4))
    }
    var c complex128
    c = math.Sqrt2 / 2
    fmt.Println(c)
    var f float64
    f = 2
    c *= complex(f)
    fmt.Println(c)
}</pre>