1
0
mirror of https://github.com/golang/go synced 2024-11-23 12:40:11 -07:00
go/test/fixedbugs/bug508.go

15 lines
293 B
Go
Raw Normal View History

// 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,
}