forked from qt-creator/qt-creator
debugger: add manual test
Task-number: QTCREATORBUG-7770 Change-Id: Iecfd25e11748622afaebc320ea29d633f9e08638 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
This commit is contained in:
@@ -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();
|
||||
|
Reference in New Issue
Block a user