Add test for REPL handling junction correctly
Add test for REPL handling junction correctly

As described in https://github.com/Raku/old-issue-tracker/issues/2917
the REPL failed badly (segfaulting) when smartmatching against a
junction that contains a set:

  $ echo -e 'my \\a = any set <1 2 3>; \n say 1 ~~ a' | perl6
  Segmentation fault (core dumped)

[The newline was essential to provoke the crash.]

The problem has been fixed a long time ago (the exact commit is
unknown), but we didn't have a regression test, yet.

MasterDuke17/rakudo,tony-o/rakudo,rakudo/rakudo,tbrowder/rakudo,MasterDuke17/rakudo,rakudo/rakudo,salortiz/rakudo,tbrowder/rakudo,rakudo/rakudo,tony-o/rakudo,MasterDuke17/rakudo,salortiz/rakudo,tony-o/rakudo,rakudo/rakudo,MasterDuke17/rakudo,tbrowder/rakudo,labster/rakudo,salortiz/rakudo,tony-o/rakudo,tbrowder/rakudo,salortiz/rakudo,labster/rakudo,labster/rakudo,rakudo/rakudo,tbrowder/rakudo,labster/rakudo,salortiz/rakudo,labster/rakudo,MasterDuke17/rakudo,labster/rakudo,salortiz/rakudo,tony-o/rakudo,MasterDuke17/rakudo,rakudo/rakudo,tony-o/rakudo,tbrowder/rakudo