Commit 4dc6be6d authored by hjk's avatar hjk
Browse files

debugger: add manual test



Task-number: QTCREATORBUG-7770
Change-Id: Iecfd25e11748622afaebc320ea29d633f9e08638
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent 3797595c
......@@ -675,6 +675,23 @@ namespace catchthrow {
} // namespace catchthrow
namespace undefined {
void testUndefined()
{
int *i = new int;
delete i;
BREAK_HERE;
// Manual: Uncomment the following line. Step.
// On Linux, a SIGABRT should be received.
//delete i;
// Continue.
dummyStatement(&i);
}
} // namespace undefined
namespace qdatetime {
void testQDate()
......@@ -6545,6 +6562,7 @@ int main(int argc, char *argv[])
text::testText();
io::testIO();
catchthrow::testCatchThrow();
undefined::testUndefined();
plugin::testPlugin();
valgrind::testValgrind();
namespc::testNamespace();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment