Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIssue33649 (0.08 sec)

  1. src/go/ast/issues_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package ast_test
    
    import (
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"testing"
    )
    
    func TestIssue33649(t *testing.T) {
    	for _, src := range []string{
    		`package p; func _()`,
    		`package p; func _() {`,
    		`package p; func _() { _ = 0`,
    		`package p; func _() { _ = 0 }`,
    	} {
    		fset := token.NewFileSet()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 25 13:57:33 UTC 2023
    - 3.5K bytes
    - Viewed (0)
Back to top