Text file src/cmd/compile/testdata/script/script_test_basics.txt

     1  
     2  # Test of the linker's script test harness.
     3  
     4  go build
     5  [!cgo] skip
     6  cc -c testdata/mumble.c
     7  [GOEXPERIMENT:fieldtrack] help exec
     8  
     9  -- go.mod --
    10  module main
    11  
    12  go 1.20
    13  
    14  -- main.go --
    15  package main
    16  
    17  func main() {
    18    println("Hi mom!")
    19  }
    20  
    21  -- testdata/mumble.c --
    22  
    23  int x;
    24  
    25  
    26  

View as plain text