packages feed

sbv-14.0: SBVTestSuite/TestSuite/CompileTests/SCase/SCase80.hs

{-# LANGUAGE QuasiQuotes #-}

{-# OPTIONS_GHC -Wall -Werror -ddump-splices #-}

-- Test: sCase Bool non-exhaustive (only True, no wildcard) — should fail
module T where

import Data.SBV

t :: SBool -> SInteger
t x = [sCase| x of
               True -> 1
      |]