summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-doc/test_cases/module.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-doc/test_cases/module.cpp')
-rw-r--r--clang-tools-extra/test/clang-doc/test_cases/module.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/clang-tools-extra/test/clang-doc/test_cases/module.cpp b/clang-tools-extra/test/clang-doc/test_cases/module.cpp
new file mode 100644
index 00000000000..3c30a5476f8
--- /dev/null
+++ b/clang-tools-extra/test/clang-doc/test_cases/module.cpp
@@ -0,0 +1,15 @@
+// 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"
+
+export module M;
+
+int moduleFunction(int x); // ModuleLinkage
+
+static int staticModuleFunction(int x); // ModuleInternalLinkage
+
+export double exportedModuleFunction(double y, int z); // ExternalLinkage
OpenPOWER on IntegriCloud