TestErrBuiltin
This commit is contained in:
@@ -140,6 +140,10 @@ func TestErrBuiltin(t *testing.T) {
|
|||||||
test("siglongjmp", func(ctx *context) { ctx.siglongjmp(nil, nil) })
|
test("siglongjmp", func(ctx *context) { ctx.siglongjmp(nil, nil) })
|
||||||
test("cstr(NoArgs)", func(ctx *context) { cstr(nil, nil) })
|
test("cstr(NoArgs)", func(ctx *context) { cstr(nil, nil) })
|
||||||
test("cstr(Nonconst)", func(ctx *context) { cstr(nil, []ssa.Value{&ssa.Parameter{}}) })
|
test("cstr(Nonconst)", func(ctx *context) { cstr(nil, []ssa.Value{&ssa.Parameter{}}) })
|
||||||
|
test("atomic", func(ctx *context) { ctx.atomic(nil, 0, nil) })
|
||||||
|
test("atomicLoad", func(ctx *context) { ctx.atomicLoad(nil, nil) })
|
||||||
|
test("atomicStore", func(ctx *context) { ctx.atomicStore(nil, nil) })
|
||||||
|
test("atomicCmpXchg", func(ctx *context) { ctx.atomicCmpXchg(nil, nil) })
|
||||||
}
|
}
|
||||||
|
|
||||||
func TestPkgNoInit(t *testing.T) {
|
func TestPkgNoInit(t *testing.T) {
|
||||||
|
|||||||
Reference in New Issue
Block a user