diff options
Diffstat (limited to 'gcc/testsuite/gcc.dg/inline-12.c')
-rw-r--r-- | gcc/testsuite/gcc.dg/inline-12.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/gcc/testsuite/gcc.dg/inline-12.c b/gcc/testsuite/gcc.dg/inline-12.c index c793196fe72..c2895176354 100644 --- a/gcc/testsuite/gcc.dg/inline-12.c +++ b/gcc/testsuite/gcc.dg/inline-12.c @@ -6,9 +6,9 @@ /* These should perhaps be hard errors, but are pedwarns at present. */ -inline int a; /* { dg-error "error: variable 'a' declared 'inline'" } */ -inline int (*b)(void); /* { dg-error "error: variable 'b' declared 'inline'" } */ -typedef inline void c(void); /* { dg-error "error: typedef 'c' declared 'inline'" } */ -typedef inline int d; /* { dg-error "error: typedef 'd' declared 'inline'" } */ -void e(inline int f(void)); /* { dg-error "error: parameter 'f' declared 'inline'" } */ -void g(inline int(void)); /* { dg-error "error: parameter '\\({anonymous}\\)' declared 'inline'" } */ +inline int a; /* { dg-error "variable 'a' declared 'inline'" } */ +inline int (*b)(void); /* { dg-error "variable 'b' declared 'inline'" } */ +typedef inline void c(void); /* { dg-error "typedef 'c' declared 'inline'" } */ +typedef inline int d; /* { dg-error "typedef 'd' declared 'inline'" } */ +void e(inline int f(void)); /* { dg-error "parameter 'f' declared 'inline'" } */ +void g(inline int(void)); /* { dg-error "parameter '\\({anonymous}\\)' declared 'inline'" } */ |