aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/enableRtti/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata/enableRtti/main.cpp')
-rw-r--r--tests/auto/blackbox/testdata/enableRtti/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/blackbox/testdata/enableRtti/main.cpp b/tests/auto/blackbox/testdata/enableRtti/main.cpp
index b7faa3d6b..4dcd5d2e8 100644
--- a/tests/auto/blackbox/testdata/enableRtti/main.cpp
+++ b/tests/auto/blackbox/testdata/enableRtti/main.cpp
@@ -47,7 +47,7 @@ class B : public I {
};
int main() {
- auto a = new A();
+ const auto a = new A();
B *b = dynamic_cast<B *>(a);
(void)b;
delete a;