forked from qt-creator/qt-creator
debugger: add a manual test for QTCREATORBUG-4019
Change-Id: I813b678a39a11157be522fccf7a05c5b4f879860 Reviewed-on: http://codereview.qt.nokia.com/58 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: hjk
This commit is contained in:
@@ -2613,8 +2613,31 @@ void testEigen()
|
||||
}
|
||||
|
||||
|
||||
// http://bugreports.qt.nokia.com/browse/QTCREATORBUG-4019
|
||||
class A4019
|
||||
{
|
||||
public:
|
||||
A4019() : test(7) {}
|
||||
int test;
|
||||
void doSomething() const;
|
||||
};
|
||||
|
||||
void A4019::doSomething() const
|
||||
{
|
||||
std::cout << test << std::endl;
|
||||
}
|
||||
|
||||
void test4019()
|
||||
{
|
||||
A4019 a;
|
||||
a.doSomething();
|
||||
}
|
||||
|
||||
|
||||
|
||||
int main(int argc, char *argv[])
|
||||
{
|
||||
test4019();
|
||||
testEigen();
|
||||
testKR();
|
||||
int *x = new int(32);
|
||||
|
||||
Reference in New Issue
Block a user