...

Source file src/go/doc/testdata/issue16153.go

Documentation: go/doc/testdata

     1  // Copyright 2017 The Go Authors. All rights reserved.
     2  // Use of this source code is governed by a BSD-style
     3  // license that can be found in the LICENSE file.
     4  
     5  package issue16153
     6  
     7  // original test case
     8  const (
     9  	x1 uint8 = 255
    10  	Y1       = 256
    11  )
    12  
    13  // variations
    14  const (
    15  	x2 uint8 = 255
    16  	Y2
    17  )
    18  
    19  const (
    20  	X3 int64 = iota
    21  	Y3       = 1
    22  )
    23  
    24  const (
    25  	X4 int64 = iota
    26  	Y4
    27  )
    28  

View as plain text