diff options
author | 2006-04-28 14:59:16 +0000 | |
---|---|---|
committer | 2006-04-28 14:59:16 +0000 | |
commit | 2c4a6b4efe55a2c6ca9ca7b185723e7909e57269 (patch) | |
tree | e1542c8adb83ff297284eefc23a2703461713d9b /test-suite/success/Case18.v | |
parent | 514dce2dfe717e3ed2e37dce6467b56219d451c1 (diff) | |
parent | 3ef7797ef6fc605dfafb32523261fe1b023aeecb (diff) |
Merge commit 'upstream/8.0pl3+8.1alpha' into 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) *) + |