forked from qt-creator/qt-creator
Merge remote branch 'origin/2.0'
Conflicts: src/plugins/projectexplorer/miniprojecttargetselector.cpp src/plugins/qmldesigner/designercore/model/modeltotextmerger.cpp src/plugins/qmldesigner/designercore/model/rewriteactioncompressor.cpp src/plugins/qt4projectmanager/qt-maemo/maemosshthread.cpp src/plugins/qt4projectmanager/qt-maemo/maemosshthread.h tests/manual/gdbdebugger/simple/app.cpp
This commit is contained in:
@@ -1652,6 +1652,17 @@ void testStuff()
|
||||
++*p;
|
||||
}
|
||||
|
||||
void testPassByReferenceHelper(Foo &f)
|
||||
{
|
||||
++f.a;
|
||||
}
|
||||
|
||||
void testPassByReference()
|
||||
{
|
||||
Foo f(12);
|
||||
testPassByReferenceHelper(f);
|
||||
}
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
testColor();
|
||||
@@ -1701,6 +1712,7 @@ int main(int argc, char *argv[])
|
||||
testStdString();
|
||||
testStdVector();
|
||||
|
||||
testPassByReference();
|
||||
testPlugin();
|
||||
testQList();
|
||||
testQLinkedList();
|
||||
|
||||
Reference in New Issue
Block a user