diff --git a/ssa/ssa_test.go b/ssa/ssa_test.go index 08f00f2d..ef60f7af 100644 --- a/ssa/ssa_test.go +++ b/ssa/ssa_test.go @@ -147,6 +147,10 @@ func TestPyFunc(t *testing.T) { if pkg.NewPyFunc("a", sig) != a { t.Fatal("NewPyFunc(a) failed") } + foo := pkg.NewPyModVar("foo") + if pkg.NewPyModVar("foo") != foo { + t.Fatal("NewPyModVar(foo) failed") + } } func TestVar(t *testing.T) {