#include "format.h"
extern void tformatprintf (const char *, ...) __attribute__((format(printf, 1, 2)));
extern void tformat__printf__ (const char *, ...) __attribute__((format(__printf__, 1, 2)));
extern void tformatscanf (const char *, ...) __attribute__((format(scanf, 1, 2)));
extern void tformat__scanf__ (const char *, ...) __attribute__((format(__scanf__, 1, 2)));
extern void tformatstrftime (const char *) __attribute__((format(strftime, 1, 0)));
extern void tformat__strftime__ (const char *) __attribute__((format(__strftime__, 1, 0)));
extern void tformatstrfmon (const char *, ...) __attribute__((format(strfmon, 1, 2)));
extern void tformat__strfmon__ (const char *, ...) __attribute__((format(__strfmon__, 1, 2)));
extern void t__format__printf (const char *, ...) __attribute__((__format__(printf, 1, 2)));
extern void t__format____printf__ (const char *, ...) __attribute__((__format__(__printf__, 1, 2)));
extern void t__format__scanf (const char *, ...) __attribute__((__format__(scanf, 1, 2)));
extern void t__format____scanf__ (const char *, ...) __attribute__((__format__(__scanf__, 1, 2)));
extern void t__format__strftime (const char *) __attribute__((__format__(strftime, 1, 0)));
extern void t__format____strftime__ (const char *) __attribute__((__format__(__strftime__, 1, 0)));
extern void t__format__strfmon (const char *, ...) __attribute__((__format__(strfmon, 1, 2)));
extern void t__format____strfmon__ (const char *, ...) __attribute__((__format__(__strfmon__, 1, 2)));
extern char *tformat_arg (const char *) __attribute__((format_arg(1)));
extern char *t__format_arg__ (const char *) __attribute__((__format_arg__(1)));
void
foo (int i, int *ip, double d)
{
tformatprintf ("%d", i);
tformatprintf ("%");
tformat__printf__ ("%d", i);
tformat__printf__ ("%");
tformatscanf ("%d", ip);
tformatscanf ("%");
tformat__scanf__ ("%d", ip);
tformat__scanf__ ("%");
tformatstrftime ("%a");
tformatstrftime ("%");
tformat__strftime__ ("%a");
tformat__strftime__ ("%");
tformatstrfmon ("%n", d);
tformatstrfmon ("%");
tformat__strfmon__ ("%n", d);
tformat__strfmon__ ("%");
t__format__printf ("%d", i);
t__format__printf ("%");
t__format____printf__ ("%d", i);
t__format____printf__ ("%");
t__format__scanf ("%d", ip);
t__format__scanf ("%");
t__format____scanf__ ("%d", ip);
t__format____scanf__ ("%");
t__format__strftime ("%a");
t__format__strftime ("%");
t__format____strftime__ ("%a");
t__format____strftime__ ("%");
t__format__strfmon ("%n", d);
t__format__strfmon ("%");
t__format____strfmon__ ("%n", d);
t__format____strfmon__ ("%");
tformatprintf (tformat_arg ("%d"), i);
tformatprintf (tformat_arg ("%"));
tformatprintf (t__format_arg__ ("%d"), i);
tformatprintf (t__format_arg__ ("%"));
}