diff --git a/src/plugins/cppeditor/cppeditorplugin.h b/src/plugins/cppeditor/cppeditorplugin.h
index ea117673c85206df3a8175488aa4cd5598ed3a0e..cbb34643a6d09d00a6e86eb9f65a299cef13d85b 100644
--- a/src/plugins/cppeditor/cppeditorplugin.h
+++ b/src/plugins/cppeditor/cppeditorplugin.h
@@ -119,6 +119,8 @@ private slots:
     void test_FollowSymbolUnderCursor_baseClassFunctionIntroducedByUsingDeclaration();
     void test_FollowSymbolUnderCursor_funWithSameNameAsBaseClassFunIntroducedByUsingDeclaration();
     void test_FollowSymbolUnderCursor_funLocalVarHidesOuterClass();
+    void test_FollowSymbolUnderCursor_classConstructor();
+    void test_FollowSymbolUnderCursor_classDestructor();
     void test_FollowSymbolUnderCursor_using_QTCREATORBUG7903_globalNamespace();
     void test_FollowSymbolUnderCursor_using_QTCREATORBUG7903_namespace();
     void test_FollowSymbolUnderCursor_using_QTCREATORBUG7903_insideFunction();
diff --git a/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp b/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp
index dae9e0aaccd0c5c05989d48dd85f79650426479c..5d541e49e200c04f1004957d1f743f72c7822e56 100644
--- a/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp
+++ b/src/plugins/cppeditor/followsymbol_switchmethoddecldef_test.cpp
@@ -862,6 +862,42 @@ void CppEditorPlugin::test_FollowSymbolUnderCursor_funLocalVarHidesOuterClass()
     test.run();
 }
 
+void CppEditorPlugin::test_FollowSymbolUnderCursor_classConstructor()
+{
+    const QByteArray source =
+            "class Foo {\n"
+            "    F@oo();"
+            "    ~Foo();"
+            "};\n\n"
+            "Foo::$Foo()\n"
+            "{\n"
+            "}\n\n"
+            "Foo::~Foo()\n"
+            "{\n"
+            "}\n";
+
+    TestCase test(TestCase::FollowSymbolUnderCursor, source);
+    test.run();
+}
+
+void CppEditorPlugin::test_FollowSymbolUnderCursor_classDestructor()
+{
+    const QByteArray source =
+            "class Foo {\n"
+            "    Foo();"
+            "    ~@Foo();"
+            "};\n\n"
+            "Foo::Foo()\n"
+            "{\n"
+            "}\n\n"
+            "Foo::~$Foo()\n"
+            "{\n"
+            "}\n";
+
+    TestCase test(TestCase::FollowSymbolUnderCursor, source);
+    test.run();
+}
+
 void CppEditorPlugin::test_FollowSymbolUnderCursor_using_QTCREATORBUG7903_globalNamespace()
 {
     const QByteArray source =