diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/nested-func-3.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/nested-func-3.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/testsuite/gcc.dg/nested-func-3.c b/gcc/testsuite/gcc.dg/nested-func-3.c index c4c016cfc4b..19e8a6155b9 100644 --- a/gcc/testsuite/gcc.dg/nested-func-3.c +++ b/gcc/testsuite/gcc.dg/nested-func-3.c @@ -7,14 +7,14 @@ void f (void) { - auto int fn (int); /* { dg-error "error: nested function 'fn' declared but never defined" } */ - auto int fn2 (int); /* { dg-error "error: nested function 'fn2' declared but never defined" } */ + auto int fn (int); /* { dg-error "nested function 'fn' declared but never defined" } */ + auto int fn2 (int); /* { dg-error "nested function 'fn2' declared but never defined" } */ sizeof(fn(1)); } void h (void) { - auto int hn (int); /* { dg-error "error: nested function 'hn' declared but never defined" } */ + auto int hn (int); /* { dg-error "nested function 'hn' declared but never defined" } */ hn (1); } |