golang.org/toolchain@v0.0.1-go1.9rc2.windows-amd64/blog/content/constants/int4.go (about)

     1  // +build OMIT
     2  
     3  package main
     4  
     5  func main() {
     6  	// START OMIT
     7  	type Char byte
     8  	var c Char = '世' // Error: '世' has value 0x4e16, too large.
     9  	// STOP OMIT
    10  	_ = c
    11  }