diff options
author | Marc Mutz <marc.mutz@kdab.com> | 2016-04-01 09:24:51 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@kdab.com> | 2016-04-01 18:57:25 +0000 |
commit | b7c7beacda529edd642d979064748bdad27b989b (patch) | |
tree | 565043444627028d1b958db2079b57212d609ca6 /tests/benchmarks/corelib | |
parent | a5456b23f4aee5693c4a24e2cce49ed40c43d71e (diff) |
QPointer: add a test for const QPointer<X>
People use this, so make sure there's a test for it.
I don't expect this test to fail, but static and
dynamic checkers should be presented with this
use-case, so they have a chance of warning, because
certain implementation strategies of QPointer may
make this code undefined.
Change-Id: I334bd73204ba4e186c4098fc6b7188917407e020
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
Diffstat (limited to 'tests/benchmarks/corelib')
0 files changed, 0 insertions, 0 deletions