summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-doc/test_cases/namespace.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-doc/test_cases/namespace.cpp')
-rw-r--r--clang-tools-extra/test/clang-doc/test_cases/namespace.cpp26
1 files changed, 26 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-doc/test_cases/namespace.cpp b/clang-tools-extra/test/clang-doc/test_cases/namespace.cpp
new file mode 100644
index 00000000000..7fa6f8f9c97
--- /dev/null
+++ b/clang-tools-extra/test/clang-doc/test_cases/namespace.cpp
@@ -0,0 +1,26 @@
+// THIS IS A GENERATED TEST. DO NOT EDIT.
+// To regenerate, see clang-doc/gen_test.py docstring.
+//
+// RUN: rm -rf %t
+// RUN: mkdir %t
+// RUN: echo "" > %t/compile_flags.txt
+// RUN: cp "%s" "%t/test.cpp"
+
+namespace A {
+
+void f();
+
+} // namespace A
+
+namespace A {
+
+void f(){};
+
+namespace B {
+
+enum E { X };
+
+E func(int i) { return X; }
+
+} // namespace B
+} // namespace A
OpenPOWER on IntegriCloud