gcc/testsuite/gcc.dg/cpp/pr69985.c
raw| 1 | /* { dg-options "-Wformat" } */ |
| 2 | extern int printf (const char *__restrict __format, ...); |
| 3 | void test (void) |
| 4 | { |
| 5 | /* A very long line, so that we start a new line map. */ |
| 6 | printf ("%llu01233456789012334567890123345678901233456789012334567890123345678901233456789012334567890123345678901233456789012334567890123345678901233456789"); /* { dg-warning "15: format .%llu. expects a matching" } */ |
| 7 | } |