fix testcase
authorLisandro Dalcin <dalcinl@gmail.com>
Sat, 24 Oct 2009 21:18:52 +0000 (19:18 -0200)
committerLisandro Dalcin <dalcinl@gmail.com>
Sat, 24 Oct 2009 21:18:52 +0000 (19:18 -0200)
tests/compile/cstructreturn.pyx

index 9ca00de40632e98ad0427fc85604307607d959c9..cf2af37b983e1dacd9d46e78aa4095936ff9cec1 100644 (file)
@@ -3,5 +3,8 @@ ctypedef struct Foo:
 
 cdef Foo f():
     blarg = 1 + 2
+    cdef Foo foo
+    foo.blarg = blarg
+    return foo
 
 f()