mirror of
https://github.com/golang/go
synced 2024-11-17 23:34:52 -07:00
162f1bf7c2
Change-Id: I08ca5f77b7352fe3ced1fbe3d027d6f5b4828e35 Reviewed-on: https://go-review.googlesource.com/c/go/+/227783 Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Than McIntosh <thanm@google.com>
15 lines
293 B
Go
15 lines
293 B
Go
// compile
|
|
|
|
// Copyright 2020 The Go Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style
|
|
// license that can be found in the LICENSE file.
|
|
|
|
// Gccgo mishandles composite literals of map with type bool.
|
|
|
|
package p
|
|
|
|
var M = map[bool]uint8{
|
|
false: 0,
|
|
true: 1,
|
|
}
|