diff options
| author | Enrico Tassi | 2019-11-22 15:10:16 +0100 |
|---|---|---|
| committer | Enrico Tassi | 2019-12-24 09:12:01 +0100 |
| commit | 559c4c068120cf7fd24728df001ca5b631eb3879 (patch) | |
| tree | 5a12fa0234cf74dce877549bdb666948560399cc /test-suite | |
| parent | f258a877d25c1f6a27875f26d9ea1fe0a5fb5b81 (diff) | |
[Attributes] accept #[canonical] (Let|Definition)
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/success/CanonicalStructure.v | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/success/CanonicalStructure.v b/test-suite/success/CanonicalStructure.v index bedb79d4d4..88702a6e80 100644 --- a/test-suite/success/CanonicalStructure.v +++ b/test-suite/success/CanonicalStructure.v @@ -59,3 +59,14 @@ Section Y. End Y. Fail Check (refl_equal _ : l _ = x3). Fail Check s3. + +Section V. + #[canonical] Let s3 := MKL x3. + Check (refl_equal _ : l _ = x3). +End V. + +Section W. + #[canonical, local] Definition s2' := MKL x2. + Check (refl_equal _ : l _ = x2). +End W. +Fail Check (refl_equal _ : l _ = x2). |
