Permalink
Browse files

test exception type for stuff that must be known at compile time

  • Loading branch information...
1 parent 63626c2 commit 59f3f35d845d12d776b87073701094557cdcc2bb @moritz moritz committed Feb 8, 2012
Showing with 3 additions and 0 deletions.
  1. +3 −0 S32-exceptions/misc.t
View
3 S32-exceptions/misc.t
@@ -128,4 +128,7 @@ throws_like '=begin', X::Syntax::Pod::BeginWithoutIdentifier;
throws_like '@', X::Syntax::SigilWithoutName;
throws_like '1∞', X::Syntax::Confused;
+throws_like 'm:i(@*ARGS[0])/foo/', X::Value::Dynamic;
+throws_like 'my enum Foo (:x(@*ARGS[0]))', X::Value::Dynamic;
+
done;

0 comments on commit 59f3f35

Please sign in to comment.