diff --git a/src/decl/test/basic-consts.rkt b/src/decl/test/basic-consts.rkt index 15f56508..3d67e56c 100644 --- a/src/decl/test/basic-consts.rkt +++ b/src/decl/test/basic-consts.rkt @@ -21,7 +21,26 @@ (CrateDecl (term (TheCrate (crate (TraitDecl AdtDecl_Foo ConstDecl_Malformed))))) (Env (term (env-for-crate-decl CrateDecl))) ) + (traced '() + (decl:test-cannot-prove + Env + (crate-ok-goal (CrateDecl) CrateDecl))) + ) + ;; Program: + ;; + ;; trait Debug { } + ;; struct Foo { } + ;; const WF: Foo; + (redex-let* + formality-decl + + ((TraitDecl (term (Debug (trait ((TyKind Self)) () ())))) + (AdtDecl_Foo (term (Foo (struct ((TyKind T)) ((Implemented (Debug (T)))) ((Foo ())))))) + (ConstDecl_Wf (term (Wf (const ((TyKind T)) ((Implemented (Debug (T)))) (TyRigid Foo (T)))))) + (CrateDecl (term (TheCrate (crate (TraitDecl AdtDecl_Foo ConstDecl_Wf))))) + (Env (term (env-for-crate-decl CrateDecl))) + ) (traced '() (decl:test-can-prove Env