Source file src/runtime/race/testdata/issue13264_test.go

     1  // Copyright 2015 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 race_test
     6  
     7  // golang.org/issue/13264
     8  // The test is that this compiles at all.
     9  
    10  func issue13264() {
    11  	for ; ; []map[int]int{}[0][0] = 0 {
    12  	}
    13  }
    14  

View as plain text