Source file src/cmd/compile/internal/syntax/testdata/issue65790.go

     1  // Copyright 2023 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 p
     6  
     7  import (
     8  	"fmt"
     9  )
    10  
    11  func f() {
    12  	int status // ERROR syntax error: unexpected name status at end of statement
    13  	fmt.Println(status)
    14  }
    15  

View as plain text