go/misc/cgo/errors/testdata
Ian Lance Taylor e831719469 cmd/cgo: do not rewrite call if there are more args than parameters
We already skipped rewriting the call if there were fewer args than
parameters. But we can also get a cgo crash if there are more args,
if at least one of the extra args uses a name qualified with "C.".
Skip the rewrite, since the build will fail later anyhow.

Fixes #33061

Change-Id: I62ff3518b775b502ad10c2bacf9102db4c9a531c
Reviewed-on: https://go-review.googlesource.com/c/go/+/185797
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Andrew Bonventre <andybons@golang.org>
2019-07-12 17:31:29 +00:00
..
err1.go misc/cgo/errors: consolidate test work 2019-05-21 18:15:05 +00:00
err2.go misc/cgo/errors: consolidate test work 2019-05-21 18:15:05 +00:00
err4.go misc/cgo/errors: fix tests in module mode 2019-02-22 17:24:25 +00:00
issue11097a.go misc/cgo/errors: fix tests in module mode 2019-02-22 17:24:25 +00:00
issue11097b.go misc/cgo/errors: fix tests in module mode 2019-02-22 17:24:25 +00:00
issue14669.go misc/cgo/errors: fix tests in module mode 2019-02-22 17:24:25 +00:00
issue18452.go misc/cgo/errors: fix tests in module mode 2019-02-22 17:24:25 +00:00
issue18889.go misc/cgo/errors: fix tests in module mode 2019-02-22 17:24:25 +00:00
issue28069.go misc/cgo/errors: fix tests in module mode 2019-02-22 17:24:25 +00:00
issue28721.go misc/cgo/errors: fix tests in module mode 2019-02-22 17:24:25 +00:00
issue33061.go cmd/cgo: do not rewrite call if there are more args than parameters 2019-07-12 17:31:29 +00:00
long_double_size.go misc/cgo/errors: fix tests in module mode 2019-02-22 17:24:25 +00:00
malloc.go misc/cgo/errors: fix tests in module mode 2019-02-22 17:24:25 +00:00