diff options
Diffstat (limited to 'test/prism/fixtures/whitequark/forward_arg_with_open_args.txt')
-rw-r--r-- | test/prism/fixtures/whitequark/forward_arg_with_open_args.txt | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/test/prism/fixtures/whitequark/forward_arg_with_open_args.txt b/test/prism/fixtures/whitequark/forward_arg_with_open_args.txt new file mode 100644 index 0000000000..fd4c06bcb5 --- /dev/null +++ b/test/prism/fixtures/whitequark/forward_arg_with_open_args.txt @@ -0,0 +1,27 @@ +(def foo ... + bar(...) +end) + +(def foo ...; bar(...); end) + +def foo ... +end + +def foo ...; bar(...); end + +def foo a, ... + bar(...) +end + +def foo a, ...; bar(...); end + +def foo a, b = 1, ... +end + +def foo b = 1, ... + bar(...) +end + +def foo b = 1, ...; bar(...); end + +def foo(a, ...) bar(...) end |