diff options
Diffstat (limited to 'tests/projects/c++/modules/cmake/src')
| -rw-r--r-- | tests/projects/c++/modules/cmake/src/hello.mpp | 11 | ||||
| -rw-r--r-- | tests/projects/c++/modules/cmake/src/hello_impl.cpp | 14 | ||||
| -rw-r--r-- | tests/projects/c++/modules/cmake/src/main.cpp | 7 |
3 files changed, 0 insertions, 32 deletions
diff --git a/tests/projects/c++/modules/cmake/src/hello.mpp b/tests/projects/c++/modules/cmake/src/hello.mpp deleted file mode 100644 index 268964aa3..000000000 --- a/tests/projects/c++/modules/cmake/src/hello.mpp +++ /dev/null @@ -1,11 +0,0 @@ -export module hello; - -export namespace hello { - class say { - public: - say(int data); - void hello(); - private: - int data_; - }; -} diff --git a/tests/projects/c++/modules/cmake/src/hello_impl.cpp b/tests/projects/c++/modules/cmake/src/hello_impl.cpp deleted file mode 100644 index 5dd555a7a..000000000 --- a/tests/projects/c++/modules/cmake/src/hello_impl.cpp +++ /dev/null @@ -1,14 +0,0 @@ -module; -#include <iostream> - -module hello; - -using namespace std; -namespace hello { - say::say(int data) : data_(data) { - - } - void say::hello() { - cout << "hello, say class: " << data_ << endl; - } -} diff --git a/tests/projects/c++/modules/cmake/src/main.cpp b/tests/projects/c++/modules/cmake/src/main.cpp deleted file mode 100644 index b96807bda..000000000 --- a/tests/projects/c++/modules/cmake/src/main.cpp +++ /dev/null @@ -1,7 +0,0 @@ -import hello; - -int main() { - hello::say s(sizeof(hello::say)); - s.hello(); - return 0; -} |
