aboutsummaryrefslogtreecommitdiffhomepage
path: root/test-suite/output/Notations2.v
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-02-06 10:48:02 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2009-02-06 10:48:02 +0000
commit97c2b41003076b099668430ca69df09a6c53f8c9 (patch)
treee26bed1dfda5f22101c8cae6133e314ac6452c02 /test-suite/output/Notations2.v
parent5ad9c7361fd63728623a1c8f9eab5e134d4025b3 (diff)
Fixing #2044 (bad printing of primitive notation at the head of
coercion to funclass) [added a new notation output test as the initial one is quite saturated in miscellaneous notations]. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@11886 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'test-suite/output/Notations2.v')
-rw-r--r--test-suite/output/Notations2.v7
1 files changed, 7 insertions, 0 deletions
diff --git a/test-suite/output/Notations2.v b/test-suite/output/Notations2.v
new file mode 100644
index 000000000..039771d5d
--- /dev/null
+++ b/test-suite/output/Notations2.v
@@ -0,0 +1,7 @@
+(**********************************************************************)
+(* Test call to primitive printers in presence of coercion to *)
+(* functions (cf bug #2044) *)
+
+Inductive PAIR := P (n1:nat) (n2:nat).
+Coercion P : nat >-> Funclass.
+Check (2 3).