summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-move/Inputs/helper_decls_test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-move/Inputs/helper_decls_test.cpp')
-rw-r--r--clang-tools-extra/test/clang-move/Inputs/helper_decls_test.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-move/Inputs/helper_decls_test.cpp b/clang-tools-extra/test/clang-move/Inputs/helper_decls_test.cpp
index c4ec8074756..32d2a234816 100644
--- a/clang-tools-extra/test/clang-move/Inputs/helper_decls_test.cpp
+++ b/clang-tools-extra/test/clang-move/Inputs/helper_decls_test.cpp
@@ -76,3 +76,22 @@ static int HelperFun5() {
void Fun1() { HelperFun5(); }
} // namespace a
+
+namespace b {
+namespace {
+void HelperFun7();
+
+class HelperC4;
+} // namespace
+
+void Fun3() {
+ HelperFun7();
+ HelperC4 *t;
+}
+
+namespace {
+void HelperFun7() {}
+
+class HelperC4 {};
+} // namespace
+} // namespace b
OpenPOWER on IntegriCloud