aboutsummaryrefslogtreecommitdiff
path: root/test-suite/success
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-06-28 01:20:11 +0200
committerPierre-Marie Pédrot2016-06-28 01:20:11 +0200
commitf57b6e3478f3a64a1f8d669ff256d9506ba67688 (patch)
treec3c266d03e5c680bfee31011d57a74634fde0dfc /test-suite/success
parent9f9c1dc37ca3ffe30417c8f7b63d62ad5b63e51b (diff)
parentee0d4870fb982877be7cf07c75e3d039b82ddfc0 (diff)
Finalizing the only printing feature.
Diffstat (limited to 'test-suite/success')
-rw-r--r--test-suite/success/onlyprinting.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/success/onlyprinting.v b/test-suite/success/onlyprinting.v
new file mode 100644
index 0000000000..91a628d792
--- /dev/null
+++ b/test-suite/success/onlyprinting.v
@@ -0,0 +1,7 @@
+Notation "x ++ y" := (plus x y) (only printing).
+
+Fail Check 0 ++ 0.
+
+Notation "x + y" := (max x y) (only printing).
+
+Check (eq_refl : 42 + 18 = 60).