From fb29e2252c543892501b79b4e65a98f86be07bab Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 3 Nov 2019 10:57:00 -0800 Subject: [PATCH] misc/cgo/testcarchive: add missing exit(0) in main7.c Fixes #35327 Change-Id: I3726bfad24851a0bef8891014f7c5a7c48352307 Reviewed-on: https://go-review.googlesource.com/c/go/+/205077 Run-TryBot: Ian Lance Taylor TryBot-Result: Gobot Gobot Reviewed-by: Brad Fitzpatrick --- misc/cgo/testcarchive/testdata/main7.c | 1 + 1 file changed, 1 insertion(+) diff --git a/misc/cgo/testcarchive/testdata/main7.c b/misc/cgo/testcarchive/testdata/main7.c index 3d101094d5..2c6d98daa8 100644 --- a/misc/cgo/testcarchive/testdata/main7.c +++ b/misc/cgo/testcarchive/testdata/main7.c @@ -14,4 +14,5 @@ int main() { for (i = 0; i < 100000; i++) { GoFunction7(); } + return 0; } -- 2.50.0