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
|
||||
{
|
||||
public:
|
||||
Base() : a(21) {}
|
||||
virtual ~Base() {}
|
||||
int a;
|
||||
};
|
||||
|
||||
class Derived : public Base
|
||||
{
|
||||
public:
|
||||
Derived() : b(42) {}
|
||||
int b;
|
||||
};
|
||||
|
||||
void test6933()
|
||||
@@ -5902,6 +5906,7 @@ namespace bug6933 {
|
||||
BREAK_HERE;
|
||||
// Expand b b.bug6933::Base
|
||||
// Check b.[bug6933::Base].[vptr]
|
||||
// Check b.b 42 int.
|
||||
// Continue.
|
||||
dummyStatement(&d, b);
|
||||
}
|
||||
|
Reference in New Issue
Block a user