You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: negative_tests.go
    path of file: ./repos/go-critic/checkers/testdata/deferUnlambda
    
    the code of the file until where you have to start completion: package checker_test

func negativeTests() {
	var v int

	defer f(10)

	defer f()

	// OK: can't remove function literal because of arguments
	defer func(x int) {
		println("deferred")
	}(f())

	// OK: recover() can't be moved out of lambda
	defer func() {
		recover()
	}()

	// OK: skip panic() to avoid changing the stack trace
	defer func() {
		panic("whoa!")
	}()

	// OK: function has non-const arguments
	
    
func negativeTests() {
	var v int

	defer f(10)

	defer f()

	// OK: can't remove function literal because of arguments
	defer func(x int) {
		println("deferred")
	}(f())

	// OK: recover() can't be moved out of lambda
	defer func() {
		recover()
	}()

	// OK: skip panic() to avoid changing the stack trace
	defer func() {
		panic("whoa!")
	}()

	// OK: function has non-const arguments
	defer func() {
		f(v)
	}()

	// OK: more than 1 statement
	defer func() {
		f()
		f()
	}()

	var o object
	objects := []object{o}

	// OK: don't report method calls.
	defer func() {
		o.f()
	}()
	defer func() {
		objects[0].f()
	}()
}