aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/success/onlyprinting.v
diff options
context:
space:
mode:
Diffstat (limited to 'test-suite/success/onlyprinting.v')
-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 000000000..91a628d79
--- /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).