X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/63d0fb9ce4bcf5069bd17f43348705ee03a562a9..500bbfcd816776d0ddbf3555fedd41b529c405b3:/tests/cxx-type.at?ds=sidebyside diff --git a/tests/cxx-type.at b/tests/cxx-type.at index 5ad9cf49..41ff5604 100644 --- a/tests/cxx-type.at +++ b/tests/cxx-type.at @@ -91,7 +91,6 @@ declarator : ID { printf ("\"%s\" ", ]$[1); } %% -#include #include #include #include @@ -99,7 +98,8 @@ declarator : ID { printf ("\"%s\" ", ]$[1); } int main (int argc, char** argv) { - assert (argc == 2); + if (argc != 2) + abort (); if (!freopen (argv[1], "r", stdin)) abort (); exit (yyparse ());