qt5base-lts/tests/auto/corelib/global
Marc Mutz ecfbb4e441 tst_QFlags: make constExpr() check compile on clang trunk
The problem is the verifyConstExpr<>() line involving the ~ operator.

The result as an integer is a value that can no longer be represented
in an int. This is known at compile time and thus template deduction,
which only has an int to match against, fails.

To fix, use an unsigned int as the first template argument of
verifyConstExpr<>().

Clang's error message for this is really sub-optimal, cf.
   http://llvm.org/bugs/show_bug.cgi?id=17834

Change-Id: I3a77dc54d2bee12b016d75724ac1bd7801f4cf2d
Reviewed-by: Olivier Goffart <ogoffart@woboq.com>
2013-11-07 03:06:29 +01:00
..
q_func_info Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qflags tst_QFlags: make constExpr() check compile on clang trunk 2013-11-07 03:06:29 +01:00
qgetputenv Add qunsetenv(), next to qputenv() and friends. 2013-02-07 01:22:40 +01:00
qglobal QIntegerForSize: add test 2013-11-06 00:35:43 +01:00
qglobalstatic Fix Q_GLOBAL_STATIC support for exceptions 2013-02-28 23:43:46 +01:00
qlogging Print non-default categories in default message handler 2013-10-16 17:10:15 +02:00
qnumeric Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
qrand Whitespace cleanup: remove trailing whitespace 2013-03-16 20:22:50 +01:00
qtendian Update copyright year in Digia's license headers 2013-01-18 09:07:35 +01:00
global.pro Enable QGlobalStatic autotest. 2013-02-28 23:43:50 +01:00