• Ian Lance Taylor's avatar
    Adjust expected errors to work with gccgo. · 8cbb5d03
    Ian Lance Taylor authored
    The change to assign.go is because the gcc testsuite fails to
    handle .* in a normal way: it matches against the entire
    compiler output, not just a single line.
    
    assign.go:15:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
    assign.go:19:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
    assign.go:23:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
    assign.go:27:6: error: incompatible types in assignment (implicit assignment of 'sync.Mutex' hidden field 'key')
    
    chan/perm.go:14:5: error: incompatible types in assignment
    chan/perm.go:15:5: error: incompatible types in assignment
    chan/perm.go:16:6: error: incompatible types in assignment
    chan/perm.go:17:6: error: incompatible types in assignment
    chan/perm.go:24:7: error: invalid send on receive-only channel
    chan/perm.go:25:12: error: invalid send on receive-only channel
    ...
    8cbb5d03
perm.go 928 Bytes