printer: add generated code warnings

This commit is contained in:
Michael McLoughlin
2018-12-18 22:57:26 -08:00
parent 213d65e481
commit ca5c7e7454
17 changed files with 94 additions and 9 deletions

View File

@@ -71,7 +71,7 @@ func TestInstructionProperties(t *testing.T) {
}
func TestAssembles(t *testing.T) {
g := gen.NewAsmTest(printer.NewDefaultConfig())
g := gen.NewAsmTest(printer.NewArgvConfig())
b, err := g.Generate(inst.Instructions)
if err != nil {
t.Fatal(err)