diff options
-rw-r--r-- | tests/auto/debugger/tst_dumpers.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 8c3a17f4e1..5997750759 100644 --- a/tests/auto/debugger/tst_dumpers.cpp +++ b/tests/auto/debugger/tst_dumpers.cpp @@ -6021,14 +6021,15 @@ void tst_Dumpers::dumper_data() + Check("x3", "", "X &"); QTest::newRow("RValueReference") - << Data("", - "struct S { int a = 32; };\n" + << Data("struct S { int a = 32; };", "auto foo = [](int && i, S && s) { BREAK; return i + s.a; };\n" "foo(int(1), S());\n") + Cxx11Profile() + GdbVersion(80200) - + Check("i", "1", "int &&") - + CheckType("s", "S &&") + + Check("i", "1", "int &&") % NoCdbEngine + + Check("i", "1", "int") % CdbEngine + + CheckType("s", "S &&") % NoCdbEngine + + CheckType("s", "S") % CdbEngine + Check("s.a", "32", "int"); QTest::newRow("SSE") |