e801c5c267
* g++.old-deja/g++.brendan/code-gen4.C: Include stdio.h and stdlib.h. Call abort() on failure. * g++.old-deja/g++.law/refs4.C: Likewise. * g++.old-deja/g++.law/temps4.C: Likewise. * g++.old-deja/g++.brendan/complex1.C: Don't assume argc is 1. * gcc.c-torture/execute/20000112-1.c: Include string.h. From-SVN: r34233
22 lines
334 B
C
22 lines
334 B
C
#include <string.h>
|
|
|
|
static int
|
|
special_format (fmt)
|
|
const char *fmt;
|
|
{
|
|
return (strchr (fmt, '*') != 0
|
|
|| strchr (fmt, 'V') != 0
|
|
|| strchr (fmt, 'S') != 0
|
|
|| strchr (fmt, 'n') != 0);
|
|
}
|
|
|
|
main()
|
|
{
|
|
if (special_format ("ee"))
|
|
abort ();
|
|
if (!special_format ("*e"))
|
|
abort ();
|
|
exit (0);
|
|
}
|
|
|