diff options
author | xclerc <xclerc@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-09-20 12:33:49 +0000 |
---|---|---|
committer | xclerc <xclerc@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2013-09-20 12:33:49 +0000 |
commit | 20bb249ed0e19cc0132519e3de06fafe2ba500c3 (patch) | |
tree | e0367d6f5020aa13395f96bd8318d67d0ff12360 /test-suite/bugs/closed/2006.v | |
parent | 4f80112eb9f4ae452c8025f29cb115f8869aee06 (diff) |
Get rid of "shouldfail" subdirectory by moving tests to parent directory.
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@16796 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/bugs/closed/2006.v')
-rw-r--r-- | test-suite/bugs/closed/2006.v | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test-suite/bugs/closed/2006.v b/test-suite/bugs/closed/2006.v new file mode 100644 index 000000000..d353d0e2d --- /dev/null +++ b/test-suite/bugs/closed/2006.v @@ -0,0 +1,23 @@ +(* Take the type constraint on Record into account *) + +Definition Type1 := Type. +Fail Record R : Type1 := { p:Type1 }. (* was accepted before trunk revision 11619 *) + +(* +Remarks: + +- The behaviour was inconsistent with the one of Inductive, e.g. + + Inductive R : Type1 := Build_R : Type1 -> R. + + was correctly refused. + +- CoRN makes some use of the following configuration: + + Definition CProp := Type. + Record R : CProp := { ... }. + + CoRN may have to change the CProp definition into a notation if the + preservation of the former semantics of Record type constraints + turns to be required. +*) |