forked from qt-creator/qt-creator
Dumper test: Add member to Derived
Change-Id: I324d31f9bfe98689136bb9e9ed40dfe46fa9ca81 Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -5887,12 +5887,16 @@ namespace bug6933 {
|
|||||||
class Base
|
class Base
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
|
Base() : a(21) {}
|
||||||
virtual ~Base() {}
|
virtual ~Base() {}
|
||||||
int a;
|
int a;
|
||||||
};
|
};
|
||||||
|
|
||||||
class Derived : public Base
|
class Derived : public Base
|
||||||
{
|
{
|
||||||
|
public:
|
||||||
|
Derived() : b(42) {}
|
||||||
|
int b;
|
||||||
};
|
};
|
||||||
|
|
||||||
void test6933()
|
void test6933()
|
||||||
@@ -5902,6 +5906,7 @@ namespace bug6933 {
|
|||||||
BREAK_HERE;
|
BREAK_HERE;
|
||||||
// Expand b b.bug6933::Base
|
// Expand b b.bug6933::Base
|
||||||
// Check b.[bug6933::Base].[vptr]
|
// Check b.[bug6933::Base].[vptr]
|
||||||
|
// Check b.b 42 int.
|
||||||
// Continue.
|
// Continue.
|
||||||
dummyStatement(&d, b);
|
dummyStatement(&d, b);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user