Giant blob of minor changes
[dotfiles/.git] / .config / coc / extensions / coc-go-data / tools / pkg / mod / golang.org / x / tools@v0.0.0-20201105173854-bc9fc8d8c4bc / go / ssa / interp / testdata / src / runtime / runtime.go
1 package runtime
2
3 // An errorString represents a runtime error described by a single string.
4 type errorString string
5
6 func (e errorString) RuntimeError() {}
7
8 func (e errorString) Error() string {
9         return "runtime error: " + string(e)
10 }
11
12 func Breakpoint()
13
14 type Error interface {
15         error
16         RuntimeError()
17 }
18
19 const GOOS = "linux"
20 const GOARCH = "amd64"
21
22 func GC()