collection of regression tests (based on Greg's test suite)
[cython.git] / tests / run / if.pyx
1 def f(a, b):
2     if a:
3         x = 1
4         
5     if a+b:
6         x = 1
7         
8     if a:
9         x = 1
10     elif b:
11         x = 2
12     
13     if a:
14         x = 1
15     elif b:
16         x = 2
17     else:
18         x = 3
19