summaryrefslogtreecommitdiffstats
path: root/test/typeparam/importtest.go
blob: a49dcd9ba149952b0e05fec047414bec8997eba6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// compile

// Copyright 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

// This file checks that basic importing works in -G mode.

package p

import "fmt"
import "math"

func f(x float64) {
	fmt.Println(math.Sin(x))
}