src/HOL/Quickcheck_Examples/Quickcheck_Nesting_Example.thy
author blanchet
Thu, 01 Sep 2016 12:10:52 +0200
changeset 63731 9f906a2eb0e7
permissions -rw-r--r--
added theory to provide workaround to support nested datatypes in quickcheck (until quickcheck is generalized to support it with new datatypes)

theory Quickcheck_Nesting_Example
imports Quickcheck_Nesting
begin

datatype x = X "x list"

lemma "X a = X b"
quickcheck[exhaustive, size = 4, expect = counterexample]
oops

end