Skip to content

Commit f1de4e8

Browse files
Petr BauchPetr Bauch
authored andcommitted
Wrongly deleted test reintroduced (fixed regression tests)
1 parent 8285a0e commit f1de4e8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/goto-programs/set_properties.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,9 @@ void set_properties(
113113
if(!it->second.is_inlined())
114114
set_properties(it->second.body, property_set);
115115

116-
throw unknown_user_input_exceptiont(
117-
"property", id2string(*property_set.begin()));
116+
if(!property_set.empty())
117+
throw unknown_user_input_exceptiont(
118+
"property", id2string(*property_set.begin()));
118119
}
119120

120121
void label_properties(goto_functionst &goto_functions)

0 commit comments

Comments
 (0)