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