summaryrefslogtreecommitdiff
path: root/trunk/Examples/test-suite/python/naturalvar_runme.py
diff options
context:
space:
mode:
Diffstat (limited to 'trunk/Examples/test-suite/python/naturalvar_runme.py')
-rw-r--r--trunk/Examples/test-suite/python/naturalvar_runme.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/trunk/Examples/test-suite/python/naturalvar_runme.py b/trunk/Examples/test-suite/python/naturalvar_runme.py
new file mode 100644
index 000000000..a0481ec60
--- /dev/null
+++ b/trunk/Examples/test-suite/python/naturalvar_runme.py
@@ -0,0 +1,12 @@
+from naturalvar import *
+
+f = Foo()
+b = Bar()
+
+b.f = f
+
+cvar.s = "hello"
+b.s = "hello"
+
+if b.s != cvar.s:
+ raise RuntimeError