File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed
regression/goto-cc-file-local Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ use_find out-file-counter final-link wall suffix assertion-check
44^EXIT=0$
55^SIGNAL=0$
66--
7- ^.*warning : function '__CPROVER_file_local_main_c_static_fun' in module 'main' is shadowed by a definition in module 'main'
7+ ^.*: function '__CPROVER_file_local_main_c_static_fun' in module 'main' is shadowed by a definition in module 'main'
88^warning: ignoring
99^\*\*\*\* WARNING: no body for function
1010--
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ foo/bar/baz/main.c
33use_find out-file-counter final-link wall
44^EXIT=0$
55^SIGNAL=0$
6- ^.*warning : function '__CPROVER_file_local_main_c_static_fun' in module 'main' is shadowed by a definition in module 'main'
6+ ^.*: function '__CPROVER_file_local_main_c_static_fun' in module 'main' is shadowed by a definition in module 'main'
77--
88^warning: ignoring
99^\*\*\*\* WARNING: no body for function
Original file line number Diff line number Diff line change @@ -796,12 +796,12 @@ void linkingt::duplicate_code_symbol(
796796 else if (base_type_eq (old_symbol.type , new_symbol.type , ns))
797797 {
798798 // keep the one in old_symbol -- libraries come last!
799- warning ().source_location = new_symbol.location ;
799+ debug ().source_location = new_symbol.location ;
800800
801- warning () << " function '" << old_symbol.name << " ' in module '"
802- << new_symbol.module
803- << " ' is shadowed by a definition in module '"
804- << old_symbol.module << " '" << eom;
801+ debug () << " function '" << old_symbol.name << " ' in module '"
802+ << new_symbol.module
803+ << " ' is shadowed by a definition in module '"
804+ << old_symbol.module << " '" << eom;
805805 }
806806 else
807807 link_error (
You can’t perform that action at this time.
0 commit comments