Sign in
llvm
/
llvm-project
/
llgo
/
1515450846d4f66bb443f8b6a5c3765bac0dce84
/
.
/
third_party
/
go.tools
/
refactor
/
eg
/
testdata
/
bad_type.template
blob: 6d53d7e5709a10bb9959a036183ee1c9d5a43057 [
file
] [
log
] [
blame
]
package
template
// Test in which replacement has a different type.
const
shouldFail
=
"int is not a safe replacement for string"
func before
()
interface
{}
{
return
"three"
}
func after
()
interface
{}
{
return
3
}