aboutsummaryrefslogtreecommitdiff
path: root/test-suite
diff options
context:
space:
mode:
authorMatthieu Sozeau2015-09-24 15:30:43 +0200
committerMatthieu Sozeau2015-10-02 15:54:12 +0200
commite51f708ac911f376f09297cad7d7d27510fe8990 (patch)
treedcb9c34e5505229d6deaafad4b91471c584e4329 /test-suite
parentb3132ef7d45edae5b7902077aa72cc81d1d309b8 (diff)
Fix test-suite file: failing earlier as expected.
Diffstat (limited to 'test-suite')
-rw-r--r--test-suite/bugs/closed/3314.v8
1 files changed, 4 insertions, 4 deletions
diff --git a/test-suite/bugs/closed/3314.v b/test-suite/bugs/closed/3314.v
index e63c46da04..fb3791af55 100644
--- a/test-suite/bugs/closed/3314.v
+++ b/test-suite/bugs/closed/3314.v
@@ -122,12 +122,12 @@ Definition depsort (T : Type) (x : bool) : informative x :=
end.
(** This definition should fail *)
-Definition Box (T : Type1) : Prop := Lift T.
+Fail Definition Box (T : Type1) : Prop := Lift T.
-Definition prop {T : Type1} (t : Box T) : T := t.
-Definition wrap {T : Type1} (t : T) : Box T := t.
+Fail Definition prop {T : Type1} (t : Box T) : T := t.
+Fail Definition wrap {T : Type1} (t : T) : Box T := t.
-Definition down (x : Type1) : Prop := Box x.
+Fail Definition down (x : Type1) : Prop := Box x.
Definition up (x : Prop) : Type1 := x.
Fail Definition back A : up (down A) -> A := @prop A.