aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/compile/testdata/script/script_test_basics.txt
blob: ecc28951a1e58dde629dfda46a2efa47b4dd3036 (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

# Test of the linker's script test harness.

go build
[!cgo] skip
cc -c testdata/mumble.c

-- go.mod --
module main

go 1.20

-- main.go --
package main

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

-- testdata/mumble.c --

int x;