diff options
Diffstat (limited to 'gcc/testsuite/g++.dg/ext/gnu-inline-global-reject.C')
-rw-r--r-- | gcc/testsuite/g++.dg/ext/gnu-inline-global-reject.C | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/gcc/testsuite/g++.dg/ext/gnu-inline-global-reject.C b/gcc/testsuite/g++.dg/ext/gnu-inline-global-reject.C index fc7385d809a..7e84fa773eb 100644 --- a/gcc/testsuite/g++.dg/ext/gnu-inline-global-reject.C +++ b/gcc/testsuite/g++.dg/ext/gnu-inline-global-reject.C @@ -10,47 +10,47 @@ #undef fn #define fn pfx(func_decl_inline_before) -decl(inline, fn) // { dg-error "previous" "" } +decl(inline, fn) // { dg-message "previous" "" } gnuindef(fn, 0) // { dg-error "redeclared" "" } #undef fn #define fn pfx(func_decl_inline_after) -gnuindef(fn, 0) // { dg-error "previous" "" } +gnuindef(fn, 0) // { dg-message "previous" "" } decl(inline, fn) // { dg-error "redeclared" "" } #undef fn #define fn pfx(func_def_gnuin_redef) -gnuindef(fn, 0) // { dg-error "previous" "" } +gnuindef(fn, 0) // { dg-message "previous" "" } gnuindef(fn, 1) // { dg-error "redefinition" "" } #undef fn #define fn pfx(func_def_inline_redef) -def(inline, fn, 0) // { dg-error "previous" "" } +def(inline, fn, 0) // { dg-message "previous" "" } def(inline, fn, 1) // { dg-error "redefinition" "" } #undef fn #define fn pfx(func_def_inline_after) -gnuindef(fn, 0) // { dg-error "previous" "" } +gnuindef(fn, 0) // { dg-message "previous" "" } def(inline, fn, 1) // { dg-error "redeclare" "" } #undef fn #define fn pfx(func_def_inline_before) -def(inline, fn, 0) // { dg-error "previous" "" } +def(inline, fn, 0) // { dg-message "previous" "" } gnuindef(fn, 1) // { dg-error "redefinition" "" } #undef fn #define fn pfx(func_def_before) -def(, fn, 0) // { dg-error "previous" "" } +def(, fn, 0) // { dg-message "previous" "" } gnuindef(fn, 1) // { dg-error "redefinition" "" } #undef fn #define fn pfx(func_decl_static_inline_before) -decl(static inline, fn) // { dg-error "previous" "" } +decl(static inline, fn) // { dg-message "previous" "" } gnuindef(fn, 0) // { dg-error "redeclared" "" } #undef fn #define fn pfx(func_def_static_inline_after) decl(static, fn) -gnuindef(fn, 0) // { dg-error "previous" "" } +gnuindef(fn, 0) // { dg-message "previous" "" } decl(static, fn) def(static inline, fn, 1) // { dg-error "redeclare" "" } |