diff options
Diffstat (limited to 'testdata')
| -rw-r--r-- | testdata/function_local.go | 10 | 
1 files changed, 10 insertions, 0 deletions
| diff --git a/testdata/function_local.go b/testdata/function_local.go index 18eeca5..6687889 100644 --- a/testdata/function_local.go +++ b/testdata/function_local.go @@ -28,3 +28,13 @@ func functionLocal() {  	go funcLocal()  } + +type ValueMethodStruct struct {} + +func (s ValueMethodStruct) method() {} + +func ignoreValueMethods() { +	s := ValueMethodStruct{} + +	go s.method() +} | 
