diff options
| author | Pierre-Marie Pédrot | 2016-06-28 01:20:11 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2016-06-28 01:20:11 +0200 |
| commit | f57b6e3478f3a64a1f8d669ff256d9506ba67688 (patch) | |
| tree | c3c266d03e5c680bfee31011d57a74634fde0dfc /test-suite | |
| parent | 9f9c1dc37ca3ffe30417c8f7b63d62ad5b63e51b (diff) | |
| parent | ee0d4870fb982877be7cf07c75e3d039b82ddfc0 (diff) | |
Finalizing the only printing feature.
Diffstat (limited to 'test-suite')
| -rw-r--r-- | test-suite/output/onlyprinting.out | 2 | ||||
| -rw-r--r-- | test-suite/output/onlyprinting.v | 5 | ||||
| -rw-r--r-- | test-suite/success/onlyprinting.v | 7 |
3 files changed, 14 insertions, 0 deletions
diff --git a/test-suite/output/onlyprinting.out b/test-suite/output/onlyprinting.out new file mode 100644 index 0000000000..e0a30fcf6b --- /dev/null +++ b/test-suite/output/onlyprinting.out @@ -0,0 +1,2 @@ +0:-) 0 + : nat diff --git a/test-suite/output/onlyprinting.v b/test-suite/output/onlyprinting.v new file mode 100644 index 0000000000..1973385a0a --- /dev/null +++ b/test-suite/output/onlyprinting.v @@ -0,0 +1,5 @@ +Reserved Notation "x :-) y" (at level 50, only printing). + +Notation "x :-) y" := (plus x y). + +Check 0 + 0. 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). |
