1 // Copyright 2013 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
5 // Issue 5227: linker incorrectly treats common symbols and
6 // leaves them undefined.
15 Fontinfo SansTypeface;
25 SansTypeface = loadfont();
32 func test5227(t
*testing
.T
) {
36 func selectfont() C
.Fontinfo
{