Commit 923fca21 authored by hjk's avatar hjk Committed by hjk

debugger: add manual testcase

Task-number: QTCREATORBUG-6858
Change-Id: Ieb9d699c9f8f9db0145dfa961446b90de7a56a98
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 39133640
...@@ -5637,6 +5637,28 @@ namespace bug6857 { ...@@ -5637,6 +5637,28 @@ namespace bug6857 {
} }
} }
namespace bug6858 {
class MyFile : public QFile
{
public:
MyFile(const QString &fileName)
: QFile(fileName) {}
};
void test6858()
{
MyFile file("/tmp/tt");
QFile *pfile = &file;
BREAK_HERE;
// Check pfile "/tmp/tt" bug6858::MyFile.
// Continue.
dummyStatement(&file, pfile);
}
}
namespace varargs { namespace varargs {
void test(const char *format, ...) void test(const char *format, ...)
...@@ -5924,6 +5946,7 @@ int main(int argc, char *argv[]) ...@@ -5924,6 +5946,7 @@ int main(int argc, char *argv[])
bug6813::test6813(); bug6813::test6813();
bug6465::test6465(); bug6465::test6465();
bug6857::test6857(); bug6857::test6857();
bug6858::test6858();
gdb13393::test13393(); gdb13393::test13393();
gdb10586::test10586(); 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