summaryrefslogtreecommitdiff
path: root/Examples/test-suite/python/static_const_member_2_runme.py
blob: 01704e39c19b3438044104eb4f5f7df0da8c24f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
from static_const_member_2 import *

c = Test_int()
try:
    a = c.forward_field
    a = c.current_profile
    a = c.RightIndex
    a = Test_int.backward_field
    a = Test_int.LeftIndex
    a = Test_int.cavity_flags
except:
    raise RuntimeError


if Foo.BAZ.val != 2 * Foo.BAR.val:
    raise RuntimeError