aboutsummaryrefslogtreecommitdiff
path: root/test/clang-doc/test_cases/module.cpp
blob: 3c30a5476f8eb07663e820104cee17c7d6b40e8e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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