diff options
| author | Gaëtan Gilbert | 2019-04-06 14:32:30 +0200 |
|---|---|---|
| committer | Gaëtan Gilbert | 2019-04-06 14:32:30 +0200 |
| commit | 1daace521f04bf95eee77a6fcf3e15d067520e70 (patch) | |
| tree | 3661f9f24030ff75004c8d47710206ad0a12d805 /test-suite/success | |
| parent | 5b2005d7224c2e9037e7e235e643602ac9b8481a (diff) | |
Fix numeral notations test in async mode.
Async causes output reordering in one test. Since we don't care about
the output of that test (it's just a [Fail]) we move it to success/.
Diffstat (limited to 'test-suite/success')
| -rw-r--r-- | test-suite/success/NumeralNotationsNoLocal.v | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test-suite/success/NumeralNotationsNoLocal.v b/test-suite/success/NumeralNotationsNoLocal.v new file mode 100644 index 0000000000..ea3907ef8a --- /dev/null +++ b/test-suite/success/NumeralNotationsNoLocal.v @@ -0,0 +1,12 @@ +(* Test that numeral notations don't work on proof-local variables, especially not ones containing evars *) +Inductive unit11 := tt11. +Declare Scope unit11_scope. +Delimit Scope unit11_scope with unit11. +Goal True. + evar (to_uint : unit11 -> Decimal.uint). + evar (of_uint : Decimal.uint -> unit11). + Fail Numeral Notation unit11 of_uint to_uint : uint11_scope. + exact I. + Unshelve. + all: solve [ constructor ]. +Qed. |
