TestPrintf fix
This commit is contained in:
@@ -400,7 +400,7 @@ func TestPrintf(t *testing.T) {
|
||||
params := types.NewTuple(types.NewVar(0, nil, "format", pchar), VArg())
|
||||
rets := types.NewTuple(types.NewVar(0, nil, "", types.Typ[types.Int32]))
|
||||
sig := types.NewSignatureType(nil, nil, nil, params, rets, true)
|
||||
pkg.NewFunc("printf", sig, InGo)
|
||||
pkg.NewFunc("printf", sig, InC)
|
||||
assertPkg(t, pkg, `; ModuleID = 'foo/bar'
|
||||
source_filename = "foo/bar"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user