From da0593f38a3220c7efe7d4e920093f6caf548a22 Mon Sep 17 00:00:00 2001 From: Lisandro Dalcin Date: Wed, 14 Oct 2009 18:22:16 -0300 Subject: [PATCH] fix testcase to silent compiler warnings --- tests/compile/cnamespec.pyx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/compile/cnamespec.pyx b/tests/compile/cnamespec.pyx index 5ddc43ea..a627cffa 100644 --- a/tests/compile/cnamespec.pyx +++ b/tests/compile/cnamespec.pyx @@ -12,6 +12,9 @@ cdef double spam "c_spam" (int i, float f): cdef foo *p global b d = spam(a, f) + cdef foo q + q.i = 7 + p = &q b = p.i p.i = x p.i = y -- 2.26.2