debugger: manual test, make testStruct() not run into the gcc RVO bug.

This commit is contained in:
hjk
2010-08-19 14:53:40 +02:00
parent 1b414e00ca
commit fb56c37b85

View File

@@ -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