TestRuntime

This commit is contained in:
xushiwei
2024-04-29 01:42:00 +08:00
parent 286b520d83
commit 98065e80d0
2 changed files with 5 additions and 2 deletions

View File

@@ -104,6 +104,9 @@ source_filename = "foo/bar"
@a = external global {}
`)
if prog.NeedRuntime() {
t.Fatal("NeedRuntime?")
}
}
func TestNamedStruct(t *testing.T) {