From 7210427c931d41fd52608ee5a502ea54414d6606 Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 6 Sep 2019 22:51:54 +0800 Subject: add some c++ module tests --- tests/projects/c++/modules/class/src/main.cpp | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 tests/projects/c++/modules/class/src/main.cpp (limited to 'tests/projects/c++/modules/class/src/main.cpp') diff --git a/tests/projects/c++/modules/class/src/main.cpp b/tests/projects/c++/modules/class/src/main.cpp new file mode 100644 index 000000000..6f80b6c7d --- /dev/null +++ b/tests/projects/c++/modules/class/src/main.cpp @@ -0,0 +1,7 @@ +import hello; + +int main() { + hello::say s(sizeof(hello::say)); + s.hello(); + return 0; +} \ No newline at end of file -- cgit v1.3.1