diff options
-rw-r--r-- | test-suite/failure/pattern.v | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test-suite/failure/pattern.v b/test-suite/failure/pattern.v new file mode 100644 index 000000000..9fee61fb7 --- /dev/null +++ b/test-suite/failure/pattern.v @@ -0,0 +1,9 @@ +(* Check that untypable beta-expansion are trapped *) + +Variable A:nat->Type. +Variable n:nat. +Variable P : (m:nat)m=n->Prop. + +Goal (p:n=n)(P n p). +Intro. +Pattern n p. (* Non typable generalization *) |