Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add test for RT #68528

  • Loading branch information...
commit a2664ea7861b0227a7f2484f7c9356a8698a4217 1 parent 3e1d8bb
@coke coke authored
Showing with 7 additions and 1 deletion.
  1. +7 −1 S06-multi/syntax.t
View
8 S06-multi/syntax.t
@@ -2,7 +2,7 @@ use v6;
use Test;
-plan 41;
+plan 42;
# L<S06/Routine modifiers/>
# L<S06/Parameters and arguments/>
@@ -180,6 +180,12 @@ is with_cap(1,2,3,4,5,6), 21, 'captures in multi sigs work';
"ordered multi subs";
}
+# RT #68528
+{
+ multi rt68528(:$a!, *%_) { return "first" };
+ multi rt68528(:$b, *%_) { return "second" };
+ is(rt68528(:a, :b), "first", "RT #68528 - first defined wins the tie");
+}
done;
Please sign in to comment.
Something went wrong with that request. Please try again.