X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=t%2Fforeign%2Fsignatures%2Fproto.t;h=6e0f9e4fc186a6710e0e49ee761af70a2d6ce0e9;hb=1a52f2db46f6d870454428a07bfae09e0359eeee;hp=0f68e133ed758f1aeeac5c5647d73594639c43d1;hpb=3517027a9d268798fcfa844a1f885a8fcba0dc5f;p=p5sagit%2FFunction-Parameters.git diff --git a/t/foreign/signatures/proto.t b/t/foreign/signatures/proto.t index 0f68e13..6e0f9e4 100644 --- a/t/foreign/signatures/proto.t +++ b/t/foreign/signatures/proto.t @@ -41,3 +41,5 @@ BEGIN { #} } +#eval 'sub foo ($bar) : proto { $bar }'; +#like($@, qr/proto attribute requires argument/);