# Tests golang.org/issue/48490
# cmd/go should enable concurrent compilation by default

# Reset all experiments, since one of them can disable
# concurrent compilation, e.g: fieldtrack.
env GOEXPERIMENT=none

env GOMAXPROCS=4
go build -n -x -a fmt
stderr ' -c=4 '