summaryrefslogtreecommitdiff
path: root/tests/projects/c++/modules/hello_mpp/src
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2025-05-09 18:27:47 +0200
committerArthur LAURENT <[email protected]>2025-05-09 18:27:47 +0200
commitfdc7b4ee8cec6f9164f0a42f1d2c5c0b44f2025f (patch)
tree0c43ea53510fe763358317dc66629ef1f7f03828 /tests/projects/c++/modules/hello_mpp/src
parentb24998d8b1217fc0785b20aeeb4531fb172034a9 (diff)
(C++ modules support) fix hello_mpp test for compiler without <print> header
Diffstat (limited to 'tests/projects/c++/modules/hello_mpp/src')
-rw-r--r--tests/projects/c++/modules/hello_mpp/src/main.mpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/projects/c++/modules/hello_mpp/src/main.mpp b/tests/projects/c++/modules/hello_mpp/src/main.mpp
index 3746aa4a4..87122ad50 100644
--- a/tests/projects/c++/modules/hello_mpp/src/main.mpp
+++ b/tests/projects/c++/modules/hello_mpp/src/main.mpp
@@ -1,6 +1,6 @@
-#include <print>
+#include <cstdio>
int main() {
- std::print("Hello world\n");
+ std::printf("Hello world\n");
return 0;
}