Debian Codegraph @

go/analysis/passes/inline/testdata/src/rmimport/rmimport.go.golden

raw
1 package rmimport
2
3 // Test that application of two fixes that each remove the second-last
4 // import of "a" results in removal of the import. This is implemented
5 // by the general analysis fix logic, not by any one analyzer.
6 func _() {
7 print(2) // want `should be inlined`
8 print(2) // want `should be inlined`
9 }