summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/global/qlogging/test
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2014-08-01 16:10:40 -0700
committerThiago Macieira <thiago.macieira@intel.com>2014-08-09 15:35:59 +0200
commite319196f7634825c6f8f6694dbc42f0ee52a1ce8 (patch)
tree83af03c413dacdfd897c7bdbf9dc39e2bea31d86 /tests/auto/corelib/global/qlogging/test
parent65ade55c8cf89db0bb6efbda7e9a2f9443398f5d (diff)
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 <ogoffart@woboq.com>
Diffstat (limited to 'tests/auto/corelib/global/qlogging/test')
-rw-r--r--tests/auto/corelib/global/qlogging/test/test.pro1
1 files changed, 1 insertions, 0 deletions
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