Fix and add tests.

This commit is contained in:
Siu Kwan Lam 2012-08-04 15:18:41 -07:00
commit 673ada6a4e
3 changed files with 137 additions and 2 deletions

View file

@ -61,7 +61,7 @@ def nestedloop2(d):
def gen_nestedloop2(mod):
functype = Type.function(C.int, [C.int])
func = mod.add_function(functype, 'nestedloop1')
func = mod.add_function(functype, 'nestedloop2')
cb = CBuilder(func)