diff options
author | Samuel Mimram <smimram@debian.org> | 2006-04-28 14:59:16 +0000 |
---|---|---|
committer | Samuel Mimram <smimram@debian.org> | 2006-04-28 14:59:16 +0000 |
commit | 3ef7797ef6fc605dfafb32523261fe1b023aeecb (patch) | |
tree | ad89c6bb57ceee608fcba2bb3435b74e0f57919e /test-suite/success/Case18.v | |
parent | 018ee3b0c2be79eb81b1f65c3f3fa142d24129c8 (diff) |
Imported Upstream version 8.0pl3+8.1alphaupstream/8.0pl3+8.1alpha
Diffstat (limited to 'test-suite/success/Case18.v')
-rw-r--r-- | test-suite/success/Case18.v | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test-suite/success/Case18.v b/test-suite/success/Case18.v new file mode 100644 index 00000000..a57fe413 --- /dev/null +++ b/test-suite/success/Case18.v @@ -0,0 +1,11 @@ +(* Check or-patterns *) + +Definition g x := + match x with ((((1 as x),_) | (_,x)), (_,(2 as y))|(y,_)) => (x,y) end. + +Eval compute in (g ((1,2),(3,4))). +(* (1,3) *) + +Eval compute in (g ((1,4),(3,2))). +(* (1,2) *) + |