Source file test/fixedbugs/bug506.dir/main.go

     1  // Copyright 2018 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  package main
     6  
     7  import (
     8  	"fmt"
     9  
    10  	"./a"
    11  )
    12  
    13  var v = a.S{}
    14  
    15  func main() {
    16  	want := "{{ 0}}"
    17  	if got := fmt.Sprint(v.F); got != want {
    18  		panic(got)
    19  	}
    20  }
    21  

View as plain text