Commit 7b471270 authored by hjk's avatar hjk Committed by hjk

debugger: add manual test for QTCREATORBUG-6933

Task-number: QTCREATORBUG-6933
Change-Id: Iaa4df837b54b57363f40eb81b87f7021d0793cea
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 8aa7e197
......@@ -2554,6 +2554,12 @@ if False:
d.putNoType()
d.putNumChild(0)
if False:
def qdump__bug6933__Base(d, value):
d.putValue("foo")
d.putPlainChildren(value)
if False:
def qdump__gdb13393__Base(d, value):
d.putValue("Base (%s)" % value["a"])
......
......@@ -5791,6 +5791,29 @@ namespace bug6858 {
}
}
namespace bug6933 {
class Base
{
public:
virtual ~Base() {}
int a;
};
class Derived : public Base
{
};
void test6933()
{
Derived d;
Base *b = &d;
BREAK_HERE;
// Expand b b.bug6933::Base
// Check b.bug6933::Base.[vptr]
dummyStatement(&d, b);
}
}
namespace varargs {
......@@ -6084,6 +6107,7 @@ int main(int argc, char *argv[])
bug6465::test6465();
bug6857::test6857();
bug6858::test6858();
bug6933::test6933();
gdb13393::test13393();
gdb10586::test10586();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment