Commit 12ad1ee8 authored by Dag Sverre Seljebotn's avatar Dag Sverre Seljebotn

Testcase for #373

parent e640b5ef
import math
cdef class MyClass:
"""
>>> x=MyClass()
4
"""
def __cinit__(self, int arg=2*2):
print arg
cdef class MyOtherClass:
"""
>>> x=MyOtherClass()
8
"""
def __cinit__(self, int arg=4*int(math.sqrt(4))):
print arg
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment