6d53d7e5709a10bb9959a036183ee1c9d5a43057
[dotfiles/.git] / bad_type.template
1 package template
2
3 // Test in which replacement has a different type.
4
5 const shouldFail = "int is not a safe replacement for string"
6
7 func before() interface{} { return "three" }
8 func after() interface{}  { return 3 }