* tests/calc.at (_AT_DATA_CALC_Y): Check fclose's return status.
+2010-04-13 Akim Demaille <demaille@gostai.com>
+
+ tests: check fclose's return value.
+ * tests/calc.at (_AT_DATA_CALC_Y): Check fclose's return status.
+
2010-04-13 Akim Demaille <demaille@gostai.com>
tests: don't depend on the actual location type.
]AT_SKEL_CC_IF([], [m4_bmatch([$4], [%debug],
[ yydebug = 1;])])[
status = yyparse (]AT_PARAM_IF([[&result, &count]])[);
- fclose (input);
+ if (fclose (input))
+ perror ("fclose");
if (global_result != result)
abort ();
if (global_count != count)