diff options
Diffstat (limited to 'tests/projects/c++/modules/namespace/src/hello.mpp')
| -rw-r--r-- | tests/projects/c++/modules/namespace/src/hello.mpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/projects/c++/modules/namespace/src/hello.mpp b/tests/projects/c++/modules/namespace/src/hello.mpp new file mode 100644 index 000000000..abac9fcb0 --- /dev/null +++ b/tests/projects/c++/modules/namespace/src/hello.mpp @@ -0,0 +1,14 @@ +export module hello; + +export namespace hello { + extern int data__; + void say_hello(); + + class say { + public: + say(int data); + void hello(); + private: + int data_; + }; +} |
