diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp index 9636a4839df..66db56a3240 100644 --- a/tests/manual/gdbdebugger/simple/app.cpp +++ b/tests/manual/gdbdebugger/simple/app.cpp @@ -1362,7 +1362,9 @@ Foo testStruct() f.doit(); f.doit(); f.doit(); - return f; + Foo f1 = f; + f1.doit(); + return f1; } class Thread : public QThread