summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/cmake/src
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2025-05-21 01:37:17 +0200
committerArthur LAURENT <[email protected]>2025-05-21 04:53:30 +0200
commit8b4e9f90ba045edb14cb2800c506ee6bc5118cd7 (patch)
treeffa4bc5edf9e19d953689fde3cc811382397e786 /tests/projects/c++/modules/cmake/src
parentbfc0f75db8c238187aa011f522adf9685e023b31 (diff)
(C++ modules support) refactor tests
Diffstat (limited to 'tests/projects/c++/modules/cmake/src')
-rw-r--r--tests/projects/c++/modules/cmake/src/hello.mpp11
-rw-r--r--tests/projects/c++/modules/cmake/src/hello_impl.cpp14
-rw-r--r--tests/projects/c++/modules/cmake/src/main.cpp7
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;
-}