Source file test/fixedbugs/issue23781.go

     1  // compile
     2  
     3  //go:build amd64
     4  
     5  // Copyright 2009 The Go Authors. All rights reserved.
     6  // Use of this source code is governed by a BSD-style
     7  // license that can be found in the LICENSE file.
     8  
     9  package p
    10  
    11  var _ = []int{1 << 31: 1} // ok on machines with 64bit int
    12  

View as plain text