Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestClobberDead (0.2 sec)

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

    package test
    
    import (
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"testing"
    )
    
    const helloSrc = `
    package main
    import "fmt"
    func main() { fmt.Println("hello") }
    `
    
    func TestClobberDead(t *testing.T) {
    	// Test that clobberdead mode generates correct program.
    	runHello(t, "-clobberdead")
    }
    
    func TestClobberDeadReg(t *testing.T) {
    	// Test that clobberdeadreg mode generates correct program.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 15 20:19:15 UTC 2022
    - 1.2K bytes
    - Viewed (0)
Back to top