From 9aef0c2ad3a3fa35373fde222079dfb8e3331cdc Mon Sep 17 00:00:00 2001 From: David Schulz Date: Fri, 28 Jun 2019 10:45:46 +0200 Subject: Debugger: Fix rvalue dumper test for cdb Change-Id: I4c977944928e97c69f7d1f4b1c666a42b443481a Reviewed-by: Christian Stenger --- tests/auto/debugger/tst_dumpers.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'tests/auto') diff --git a/tests/auto/debugger/tst_dumpers.cpp b/tests/auto/debugger/tst_dumpers.cpp index 8c3a17f4e18..59977507592 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") -- cgit v1.2.3