TestClosureCtx
This commit is contained in:
@@ -25,12 +25,15 @@ import (
|
|||||||
"github.com/goplus/llvm"
|
"github.com/goplus/llvm"
|
||||||
)
|
)
|
||||||
|
|
||||||
/*
|
func TestClosureCtx(t *testing.T) {
|
||||||
func TestMakeInterface(t *testing.T) {
|
defer func() {
|
||||||
var b Builder
|
if r := recover(); r == nil {
|
||||||
b.MakeInterface(types.NewInterfaceType(nil, nil), Expr{}, true).Do(true)
|
t.Log("closureCtx: no error?")
|
||||||
|
}
|
||||||
|
}()
|
||||||
|
var f aFunction
|
||||||
|
f.closureCtx(nil)
|
||||||
}
|
}
|
||||||
*/
|
|
||||||
|
|
||||||
func TestTypes(t *testing.T) {
|
func TestTypes(t *testing.T) {
|
||||||
ctx := llvm.NewContext()
|
ctx := llvm.NewContext()
|
||||||
|
|||||||
Reference in New Issue
Block a user