Source file test/fixedbugs/issue29870.go

     1  // compile
     2  
     3  // Copyright 2019 The Go Authors. All rights reserved.
     4  // Use of this source code is governed by a BSD-style
     5  // license that can be found in the LICENSE file.
     6  
     7  // Make sure we can compile "_" functions without crashing.
     8  
     9  package main
    10  
    11  import "log"
    12  
    13  func _() {
    14  	log.Println("%2F")
    15  }
    16  

View as plain text