diff options
Diffstat (limited to 'tests/pracownia2/ok/048_noconflict_other_scopes.xi')
-rw-r--r-- | tests/pracownia2/ok/048_noconflict_other_scopes.xi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/pracownia2/ok/048_noconflict_other_scopes.xi b/tests/pracownia2/ok/048_noconflict_other_scopes.xi new file mode 100644 index 0000000..788c5ee --- /dev/null +++ b/tests/pracownia2/ok/048_noconflict_other_scopes.xi @@ -0,0 +1,11 @@ +test(x:bool) +{ + if x { + y:int + } else { + y:int[] + } +} +//@PRACOWNIA +//@stop_after typechecker + |