test-suite/ssr/case_TC.v
raw| 1 | From Corelib Require Import ssreflect. |
| 2 | From Corelib Require Import ssrbool. |
| 3 | |
| 4 | Set Printing All. |
| 5 | Set Debug Ssreflect. |
| 6 | |
| 7 | Class Class := { sort : Type ; op : sort -> bool }. |
| 8 | Coercion sort : Class >-> Sortclass. |
| 9 | Arguments op [_] _. |
| 10 | |
| 11 | Section Section. |
| 12 | Context (A B: Class) (a: A). |
| 13 | |
| 14 | Goal op a || ~~ op a. |
| 15 | by case: op. |
| 16 | Abort. |
| 17 | |
| 18 | End Section. |