Agda-2.3.2.2: test/succeed/EmptyInductiveRecord.agda
{-# OPTIONS --copatterns #-}
module EmptyInductiveRecord where
mutual
data E : Set where
e : F -> E
record F : Set where
inductive
constructor c
field f : E
open F
data ⊥ : Set where
elim : E → ⊥
elim (e (c x)) = elim x
elim' : E → ⊥
elim' (e y) = elim' (f y)