From d660dc5748656e7ddc7b3343c96d9a7bdaadd502 Mon Sep 17 00:00:00 2001 From: hachem Date: Sun, 21 Dec 2025 05:46:36 +0100 Subject: refactor: reorganize tests --- test/hello.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 test/hello.cpp (limited to 'test/hello.cpp') diff --git a/test/hello.cpp b/test/hello.cpp new file mode 100644 index 0000000..9337000 --- /dev/null +++ b/test/hello.cpp @@ -0,0 +1,16 @@ +#include + +auto add(int a, int b) -> int +{ + int result = a+b; + return result; +} + +auto main() -> int +{ + int a = 50; + int b = 67; + int c = add(a, b); + + std::println("{} + {} = {}", a, b, c); +} -- cgit v1.3