From 3ef7797ef6fc605dfafb32523261fe1b023aeecb Mon Sep 17 00:00:00 2001 From: Samuel Mimram Date: Fri, 28 Apr 2006 14:59:16 +0000 Subject: Imported Upstream version 8.0pl3+8.1alpha --- test-suite/success/PPFix.v | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test-suite/success/PPFix.v (limited to 'test-suite/success/PPFix.v') diff --git a/test-suite/success/PPFix.v b/test-suite/success/PPFix.v new file mode 100644 index 00000000..833eb3ad --- /dev/null +++ b/test-suite/success/PPFix.v @@ -0,0 +1,9 @@ + +(* To test PP of fixpoints *) +Require Import Arith. +Check fix a(n: nat): n<5 -> nat := + match n return n<5 -> nat with + | 0 => fun _ => 0 + | S n => fun h => S (a n (lt_S_n _ _ (lt_S _ _ h))) + end. + -- cgit v1.2.3