diff --git a/src/main.cpp b/src/main.cpp index f30b111..a403032 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -3,6 +3,6 @@ #include "test.hpp" int main() { - helloWorld(); + helloWorld(4); return 0; } diff --git a/src/test.cpp b/src/test.cpp index af89005..2a00baf 100644 --- a/src/test.cpp +++ b/src/test.cpp @@ -4,3 +4,8 @@ int helloWorld() { std::cout << "Hello world!" << std::endl; return 0; } + +int helloWorld(int c) { + std::cout << "Hello " << c << " worlds!" << std::endl; + return 0; +} diff --git a/src/test.hpp b/src/test.hpp index 783f465..6e7c281 100644 --- a/src/test.hpp +++ b/src/test.hpp @@ -1 +1,2 @@ int helloWorld(); +int helloWorld(int c); -- libgit2 0.21.2