aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/quot.v9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/quot.v b/tests/quot.v
new file mode 100644
index 0000000000..c9aa1f9d14
--- /dev/null
+++ b/tests/quot.v
@@ -0,0 +1,9 @@
+Require Import Ltac2.Ltac2.
+
+(** Test for quotations *)
+
+Ltac2 ref0 () := reference:(&x).
+Ltac2 ref1 () := reference:(nat).
+Ltac2 ref2 () := reference:(Datatypes.nat).
+Fail Ltac2 ref () := reference:(i_certainly_dont_exist).
+Fail Ltac2 ref () := reference:(And.Me.neither).