diff options
Diffstat (limited to 'spec/inputs/using.mp')
-rw-r--r-- | spec/inputs/using.mp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/spec/inputs/using.mp b/spec/inputs/using.mp new file mode 100644 index 0000000..fe0a433 --- /dev/null +++ b/spec/inputs/using.mp | |||
@@ -0,0 +1,22 @@ | |||
1 | |||
2 | hello = "hello" | ||
3 | world = "world" | ||
4 | |||
5 | _ = (using nil) -> | ||
6 | hello = 3223 | ||
7 | |||
8 | _ = (a using nil) -> | ||
9 | hello = 3223 | ||
10 | a = 323 | ||
11 | |||
12 | _ = (a,b,c using a,b,c) -> | ||
13 | a,b,c = 1,2,3 | ||
14 | world = 12321 | ||
15 | |||
16 | (a,e,f using a,b,c, hello) -> | ||
17 | a,b,c = 1,2,3 | ||
18 | hello = 12321 | ||
19 | world = "yeah" | ||
20 | |||
21 | |||
22 | |||