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

@@ -22,7 +22,7 @@ func Load(t *testing.T) []inst.Instruction {
func TestAssembles(t *testing.T) {
is := Load(t)
g := gen.NewAsmTest(printer.NewDefaultConfig())
g := gen.NewAsmTest(printer.NewArgvConfig())
b, err := g.Generate(is)
if err != nil {
t.Fatal(err)