Skip to content

Instantly share code, notes, and snippets.

View matt2909's full-sized avatar

Matt Horsnell matt2909

View GitHub Profile
@matt2909
matt2909 / generator.go
Created October 12, 2015 10:33
This file generates a test that breaks the ARM64 compiler with "branch too far" errors
package main
import (
"fmt"
"io"
"os"
)
func dumpTable(w io.Writer, tableSize int) {
fmt.Fprintln(w, "type funcPointer func() string")