summary refs log tree commit diff
path: root/tests/pracownia2/error/111_variables_nested_scope_while.xi
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pracownia2/error/111_variables_nested_scope_while.xi')
-rw-r--r--tests/pracownia2/error/111_variables_nested_scope_while.xi9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/pracownia2/error/111_variables_nested_scope_while.xi b/tests/pracownia2/error/111_variables_nested_scope_while.xi
new file mode 100644
index 0000000..b0d1936
--- /dev/null
+++ b/tests/pracownia2/error/111_variables_nested_scope_while.xi
@@ -0,0 +1,9 @@
+test()
+{
+    x:int
+    while true {
+        x:bool
+    } 
+}
+//@PRACOWNIA
+//@should_not_typecheck