Skip to content

Commit d250cce

Browse files
committed
goto_programt::output: add missing newline
1 parent 011a1c3 commit d250cce

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

regression/goto-instrument/inline_04/test.desc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ main.c
44
^EXIT=0$
55
^SIGNAL=0$
66
^VERIFICATION SUCCESSFUL$
7-
g[\(].*[\)]$
8-
h[\(].*[\)]$
7+
g[\(].*[\)]$
8+
h[\(].*[\)]$
99
--
10-
f[\(].*[\)]$
11-
other_func[\(].*[\)]$
10+
f[\(].*[\)]$
11+
other_func[\(].*[\)]$
1212
^warning: ignoring

src/goto-programs/goto_program.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ std::ostream &goto_programt::output_instruction(
129129
// fallthrough
130130
}
131131

132-
out << "OTHER " << format(instruction.get_other());
132+
out << "OTHER " << format(instruction.get_other()) << '\n';
133133
break;
134134

135135
case SET_RETURN_VALUE:

0 commit comments

Comments
 (0)