Skip to content

Commit

Permalink
Fix stray ] in example output
Browse files Browse the repository at this point in the history
  • Loading branch information
hsutter committed Jul 15, 2024
1 parent 34d9a84 commit 2cd1aeb
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ auto call_my_framework(const char* msg CPP2_SOURCE_LOCATION_PARAM) {
std::cout
<< "from source location: "
<< loc
<< "]\n";
<< "\n";
}
exit(0);
}
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sending error to my framework... [dynamic null dereference attempt detected]
from source location: mixed-lifetime-safety-and-null-contracts.cpp2(17) void try_pointer_stuff()]
from source location: mixed-lifetime-safety-and-null-contracts.cpp2(17) void try_pointer_stuff()
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ auto call_my_framework(const char* msg CPP2_SOURCE_LOCATION_PARAM) {
std::cout
<< "from source location: "
<< loc
<< "]\n";
<< "\n";
}
exit(0);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sending error to my framework... [dynamic null dereference attempt detected]
from source location: mixed-lifetime-safety-and-null-contracts.cpp2(17) void __cdecl try_pointer_stuff(void)]
from source location: mixed-lifetime-safety-and-null-contracts.cpp2(17) void __cdecl try_pointer_stuff(void)

0 comments on commit 2cd1aeb

Please sign in to comment.