From e319196f7634825c6f8f6694dbc42f0ee52a1ce8 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Fri, 1 Aug 2014 16:10:40 -0700 Subject: Ensure that qCleanupFuncinfo works with some C++11 new constructs This commit adds tests for ref-qualified member functions, the new syntax for functions and decltype. __PRETTY_FUNCTION__ for lambdas varies wildly between compilers and will produce really bizarre results after cleanup. It's not tested and is known to be broken. Change-Id: I70c8dbcba54790357cecba35aa45c5cc672f29d1 Reviewed-by: Olivier Goffart --- tests/auto/corelib/global/qlogging/test/test.pro | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/auto/corelib/global/qlogging/test') diff --git a/tests/auto/corelib/global/qlogging/test/test.pro b/tests/auto/corelib/global/qlogging/test/test.pro index c75fc47f96..788a2064cd 100644 --- a/tests/auto/corelib/global/qlogging/test/test.pro +++ b/tests/auto/corelib/global/qlogging/test/test.pro @@ -1,5 +1,6 @@ CONFIG += testcase parallel_test CONFIG -= app_bundle debug_and_release_target +contains(QT_CONFIG, c++11): CONFIG += c++11 c++14 TARGET = ../tst_qlogging QT = core testlib SOURCES = ../tst_qlogging.cpp -- cgit v1.2.3