1 // RUN: %clang_cc1 -fsyntax-only -verify=WARNING-ON %s 2 // RUN: %clang_cc1 -fsyntax-only -Wno-format-insufficient-args -verify=WARNING-OFF %s 3 4 5 int printf(const char * format, ...); 6 main(void)7int main(void) { 8 int patatino = 42; 9 printf("%i %i", patatino); // WARNING-ON-warning {{more '%' conversions than data arguments}} 10 // WARNING-OFF-no-diagnostics 11 } 12