aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/testdata/script/script_test_basics.txt
blob: 7fe99dbbc2f042aa514fdecb9443114fbc307c13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25

# Test of the linker's script test harness.

go build
[!cgo] skip
cc -c testdata/mumble.c
[GOEXPERIMENT:fieldtrack] help exec

-- go.mod --
module main

go 1.20

-- main.go --
package main

func main() {
  println("Hi mom!")
}

-- testdata/mumble.c --

int x;