Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestScanfRemoval (0.14 sec)

  1. src/cmd/compile/internal/test/global_test.go

    package test
    
    import (
    	"bytes"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"strings"
    	"testing"
    )
    
    // Make sure "hello world" does not link in all the
    // fmt.scanf routines. See issue 6853.
    func TestScanfRemoval(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	// Make a directory to work in.
    	dir := t.TempDir()
    
    	// Create source.
    	src := filepath.Join(dir, "test.go")
    	f, err := os.Create(src)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 06 18:07:35 UTC 2023
    - 2.3K bytes
    - Viewed (0)
Back to top