Text file src/cmd/link/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  
     8  -- go.mod --
     9  module main
    10  
    11  go 1.20
    12  
    13  -- main.go --
    14  package main
    15  
    16  func main() {
    17    println("Hi mom!")
    18  }
    19  
    20  -- testdata/mumble.c --
    21  
    22  int x;
    23  
    24  
    25  

View as plain text