summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/inline_and_template/src
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2024-01-23 18:22:52 +0100
committerArthur LAURENT <[email protected]>2024-01-26 18:20:57 +0100
commite20c6cafdb241ad6f858556c33463da1a092abdc (patch)
tree27e4be80b8a1e9c69c1f42149bf2d31daa1d540a /tests/projects/c++/modules/inline_and_template/src
parent445e43b40846b29b9abb1293b32b27b7104f54fa (diff)
improve module tests
Diffstat (limited to 'tests/projects/c++/modules/inline_and_template/src')
-rw-r--r--tests/projects/c++/modules/inline_and_template/src/main.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/projects/c++/modules/inline_and_template/src/main.cpp b/tests/projects/c++/modules/inline_and_template/src/main.cpp
index a34667fbe..bf68f307d 100644
--- a/tests/projects/c++/modules/inline_and_template/src/main.cpp
+++ b/tests/projects/c++/modules/inline_and_template/src/main.cpp
@@ -1,12 +1,12 @@
+#include <iostream>
+
import hello;
import say;
import foo;
-#include <iostream>
-
int main() {
hello::say_hello();
say{}.hello<sizeof(say)>();
std::cout << foo<int>{}.hello() << std::endl;
return 0;
-} \ No newline at end of file
+}