From 2d44c8246eccba7c1c452cbfbc6751cd222d0a6a Mon Sep 17 00:00:00 2001 From: Pierre Roux Date: Sat, 12 Sep 2020 09:10:26 +0200 Subject: Renaming Numeral.v into Number.v --- test-suite/success/NumberNotationsNoLocal.v | 12 ++++++++++++ test-suite/success/NumeralNotationsNoLocal.v | 12 ------------ 2 files changed, 12 insertions(+), 12 deletions(-) create mode 100644 test-suite/success/NumberNotationsNoLocal.v delete mode 100644 test-suite/success/NumeralNotationsNoLocal.v (limited to 'test-suite/success') diff --git a/test-suite/success/NumberNotationsNoLocal.v b/test-suite/success/NumberNotationsNoLocal.v new file mode 100644 index 0000000000..e19d06cfa7 --- /dev/null +++ b/test-suite/success/NumberNotationsNoLocal.v @@ -0,0 +1,12 @@ +(* Test that number 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 Number Notation unit11 of_uint to_uint : uint11_scope. + exact I. + Unshelve. + all: solve [ constructor ]. +Qed. diff --git a/test-suite/success/NumeralNotationsNoLocal.v b/test-suite/success/NumeralNotationsNoLocal.v deleted file mode 100644 index fe97f10ddf..0000000000 --- a/test-suite/success/NumeralNotationsNoLocal.v +++ /dev/null @@ -1,12 +0,0 @@ -(* 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 Number Notation unit11 of_uint to_uint : uint11_scope. - exact I. - Unshelve. - all: solve [ constructor ]. -Qed. -- cgit v1.2.3