Sign in
go
/
website
/
06562a2885c91e4dae9e04d8bb9a796d02ee4527
/
.
/
_content
/
blog
/
constants
/
exercise4.go
blob: 3acc664a7f55168cad137856c172c598ede72585 [
file
] [
log
] [
blame
]
// +build OMIT
package main
func main() {
// START OMIT
var u uint
const v = -1
u = uint(v)
// Error: negative value
// STOP OMIT
_ = u
}