Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add test that gccgo failed to compile
Gccgo failed to create the type descriptor for the type used to allocate the nil value passed to append as the second argument when append is called with only one argument. Calling append with only one argument is unusual but obviously should not cause a compiler crash. Change-Id: I530821847dfd68f0302de6ca6a84dfbc79653935 Reviewed-on: https://go-review.googlesource.com/1692 Reviewed-by: Minux Ma <[email protected]> Reviewed-by: Brad Fitzpatrick <[email protected]>
- Loading branch information