1 // commit: 5cbd76c6b05b381f269e0e204e10690d69f1d6ea 2011-02-16
2 // commit: bdc9ed15651b70e89f83c5a9f7d1ba349e624503 2011-02-20
8 #define T(n,nfmt,fmt) do { \
9 if ((ret = sprintf(buf, "%256d%d" nfmt "%d", 1, 2, &n, 3)) != 258) \
10 t_error("expexted sprintf to write 258 chars, got %d\n", ret); \
12 t_error("%%n format failed: wanted 257, got " fmt "\n", n); \
28 T(ll
, "%lln", "%lld");