diff options
Diffstat (limited to 'test-suite/bugs/closed/HoTT_coq_037.v')
-rw-r--r-- | test-suite/bugs/closed/HoTT_coq_037.v | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/HoTT_coq_037.v b/test-suite/bugs/closed/HoTT_coq_037.v new file mode 100644 index 00000000..66476414 --- /dev/null +++ b/test-suite/bugs/closed/HoTT_coq_037.v @@ -0,0 +1,16 @@ +Set Printing Universes. + +Fixpoint CardinalityRepresentative (n : nat) : Set := + match n with + | O => Empty_set + | S n' => sum (CardinalityRepresentative n') unit + end. +(* Toplevel input, characters 104-143: +Error: +In environment +CardinalityRepresentative : nat -> Set +n : nat +n' : nat +The term "(CardinalityRepresentative n' + unit)%type" has type + "Type (* max(Top.73, Top.74) *)" while it is expected to have type +"Set". *) |