% EXPECT-ERROR: CVC4 Error:
-% EXPECT-ERROR: Parse Error: error.cvc:3.8: Symbol 'BOOL' not declared as a type
+% EXPECT-ERROR: Parse Error: error.cvc:7.8: Symbol 'BOOL' not declared as a type
+% EXPECT-ERROR:
+% EXPECT-ERROR: p : BOOL;
+% EXPECT-ERROR: ^
+% EXPECT-ERROR:
p : BOOL;
% EXIT: 1