diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/warn-sprintf-no-nul.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/warn-sprintf-no-nul.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.dg/warn-sprintf-no-nul.c b/gcc/testsuite/gcc.dg/warn-sprintf-no-nul.c index b331bb5..a38679f 100644 --- a/gcc/testsuite/gcc.dg/warn-sprintf-no-nul.c +++ b/gcc/testsuite/gcc.dg/warn-sprintf-no-nul.c @@ -26,7 +26,7 @@ void sink (int, ...); const char a[5] = "12345"; /* { dg-message "declared here" } */ const char b[6] = "123456"; /* { dg-message "declared here" } */ const char a2[][3] = { - "", "1", "12", "123", "123\000" /* { dg-warning "initializer-string for array of chars is too long" } */ + "", "1", "12", "123", "123\000" /* { dg-warning "initializer-string for array of 'char' is too long" } */ }; |