From 88766918615793536224bf50d0bb70ec9f9efd93 Mon Sep 17 00:00:00 2001 From: "Christopher L. Conway" Date: Wed, 28 Jul 2010 22:57:36 +0000 Subject: Forcing a type check on Node construction in debug mode (Fixes: #188) NOTE: mkNode/mkExpr/parsing functions can now throw type checking exceptions --- test/unit/parser/parser_black.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/unit/parser') diff --git a/test/unit/parser/parser_black.h b/test/unit/parser/parser_black.h index 1f986732c..0e0835327 100644 --- a/test/unit/parser/parser_black.h +++ b/test/unit/parser/parser_black.h @@ -191,7 +191,7 @@ public: tryGoodInput("CHECKSAT FALSE;"); tryGoodInput("a, b : BOOLEAN;"); tryGoodInput("a, b : BOOLEAN; QUERY (a => b) AND a => b;"); - tryGoodInput("T, U : TYPE; f : T -> U; x : T; CHECKSAT f(x) = x;"); + tryGoodInput("T, U : TYPE; f : T -> U; x : T; y : U; CHECKSAT f(x) = y;"); tryGoodInput("T : TYPE; x, y : T; a : BOOLEAN; QUERY (IF a THEN x ELSE y ENDIF) = x;"); tryGoodInput("%% nothing but a comment"); tryGoodInput("% a comment\nASSERT TRUE; %a command\n% another comment"); -- cgit v1.2.3