diff options
Diffstat (limited to 'misc/cgo/test/callback.go')
-rw-r--r-- | misc/cgo/test/callback.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/misc/cgo/test/callback.go b/misc/cgo/test/callback.go index 82ed015bd..67d271404 100644 --- a/misc/cgo/test/callback.go +++ b/misc/cgo/test/callback.go @@ -13,12 +13,13 @@ void callPanic(void); import "C" import ( - "./backdoor" "path" "runtime" "strings" "testing" "unsafe" + + "./backdoor" ) // nestedCall calls into C, back into Go, and finally to f. @@ -155,8 +156,8 @@ func testCallbackCallers(t *testing.T) { "runtime.cgocallbackg1", "runtime.cgocallbackg", "runtime.cgocallback_gofunc", - "runtime.asmcgocall", - "runtime.cgocall", + "runtime.asmcgocall_errno", + "runtime.cgocall_errno", "test._Cfunc_callback", "test.nestedCall", "test.testCallbackCallers", |