attr_format_wrong_arity.c (220B)
1 /* format(archetype, m, n) requires three arguments (AS_FORMAT); 2 * passing only the archetype must be rejected. */ 3 __attribute__((format(printf))) int my_printf(const char* fmt, ...); 4 5 int test_main(void) { return 0; }