<p dir="auto">by <strong><a href="mailto:eric.atienza@mydoceapower.com">eric.atienza@mydoceapower.com</a></strong>:</p>
<pre class="notranslate">What steps will reproduce the problem?
@see <a href="http://play.golang.org/p/unO74If5mD" rel="nofollow">http://play.golang.org/p/unO74If5mD</a>


What is the expected output?
in the expression "a.b.c.Check()" a is not nil, but b is. 
I expect a run time panic to occur:

"If x is of pointer or interface type and has the value nil, assigning to,
evaluating, or calling x.f causes a run-time panic." (spec extract)


What do you see instead?
the method Check() is called instead.

Which compiler are you using?  6g
Which operating system are you using? Linux 3.5.0-18-generic
Which version are you using?  (run 'go version')1.0.3</pre>
<h3 dir="auto">What version of Go are you using (go version)?</h3>
<p dir="auto"><code class="notranslate">go version go1.5beta2 darwin/amd64</code></p>
<h3 dir="auto">What operating system and processor architecture are you using?</h3>
<p dir="auto">OS X 10.10.4 (64-bit)</p>
<h3 dir="auto">What did you do?</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="go get -u github.com/shurcooL/go-get-issue-cgo"><pre class="notranslate"><code class="notranslate">go get -u github.com/shurcooL/go-get-issue-cgo
</code></pre></div>
<h3 dir="auto">What did you expect to see?</h3>
<p dir="auto">No output, successful go get (fetch, build and install).</p>
<h3 dir="auto">What did you see instead?</h3>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="package github.com/shurcooL/go-get-issue-cgo
    imports C: unrecognized import path &quot;C&quot;"><pre class="notranslate"><code class="notranslate">package github.com/shurcooL/go-get-issue-cgo
    imports C: unrecognized import path "C"
</code></pre></div>
<h2 dir="auto">Likely Cause</h2>
<p dir="auto">I haven't verified it, but I am quite certain (it's very likely) this is a regression caused by the code change in <a href="https://go-review.googlesource.com/#/c/12192/" rel="nofollow">https://go-review.googlesource.com/#/c/12192/</a>.</p>
<p dir="auto">After writing up this report, I've realized this issue is a duplicate of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="95540206" data-permission-text="Title is private" data-url="https://github.com/golang/go/issues/11738" data-hovercard-type="issue" data-hovercard-url="/golang/go/issues/11738/hovercard" href="https://github.com/golang/go/issues/11738">#11738</a> and can be closed right away (filing just in case some additional information here is helpful).</p>