From f32403328aef1baa74cb86b531c078ed8a06bdea Mon Sep 17 00:00:00 2001
From: hjk <qtc-committer@nokia.com>
Date: Wed, 1 Sep 2010 13:25:23 +0200
Subject: [PATCH] debugger: extend manual test

---
 tests/manual/gdbdebugger/simple/app.cpp | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/tests/manual/gdbdebugger/simple/app.cpp b/tests/manual/gdbdebugger/simple/app.cpp
index bbcb9a18e2c..3d2ee22b09a 100644
--- a/tests/manual/gdbdebugger/simple/app.cpp
+++ b/tests/manual/gdbdebugger/simple/app.cpp
@@ -1840,9 +1840,12 @@ void testTypedef()
 void testStuff()
 {
     Foo *f1 = new Foo(1);
-    Foo *f2 = new X();
-    Foo *f3 = new XX();
-    Foo *f4 = new Y();
+    X *x = new X();
+    Foo *f2 = x;
+    XX *xx = new XX();
+    Foo *f3 = xx;
+    Y *y = new Y();
+    Foo *f4 = y;
     //Foo *f5 = new D();
     qDebug() << f1 << f2 << f3 << f4;
 }
-- 
GitLab