mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-05-31 22:41:28 +00:00
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);
|
|
}
|
|
|