Author: Armin Rigo <[email protected]>
Branch: reverse-debugger
Changeset: r85524:4897e2599437
Date: 2016-07-03 16:38 +0200
http://bitbucket.org/pypy/pypy/changeset/4897e2599437/
Log: extra test
diff --git a/rpython/translator/revdb/test/test_raw.py
b/rpython/translator/revdb/test/test_raw.py
--- a/rpython/translator/revdb/test/test_raw.py
+++ b/rpython/translator/revdb/test/test_raw.py
@@ -25,9 +25,15 @@
baz = lltype.malloc(BAZ, flavor='raw', immortal=True)
baz.p = foo
+ VBAR = lltype.Array(lltype.Ptr(FOO))
+ vbar = lltype.malloc(VBAR, 3, flavor='raw', immortal=True)
+ vbar[0] = vbar[1] = vbar[2] = foo
+
def main(argv):
assert bar.p == foo
assert baz.p == foo
+ for i in range(3):
+ assert vbar[i] == foo
revdb.stop_point()
return 9
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit