github.com/panjjo/go@v0.0.0-20161104043856-d62b31386338/src/go/types/testdata/alias.go (about)

     1  // Copyright 2016 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.
     4  
     5  // Used by TestAliases (api_test.go).
     6  
     7  package alias
     8  
     9  import (
    10  	"go/build"
    11  	"math"
    12  )
    13  
    14  const Pi1 => math.Pi
    15  const Pi2 => math.Pi // cause the same object to be exported multiple times (issue 17726)
    16  
    17  var Default => build.Default
    18  
    19  type Context => build.Context
    20  
    21  func Sin => math.Sin