diff --git a/lib2/bar.hh b/lib2/bar.hh index 55ffd25..8164dcc 100644 --- a/lib2/bar.hh +++ b/lib2/bar.hh @@ -1,2 +1,3 @@ +#pragma once /** very important function */ void showNyanCat(); diff --git a/lib2/foo.hh b/lib2/foo.hh index 12baafa..6599830 100644 --- a/lib2/foo.hh +++ b/lib2/foo.hh @@ -1,2 +1,3 @@ +#pragma once /** foo foo foo */ int frob(); diff --git a/src/foo.cc b/src/foo.cc index e1dcf7e..bd51fac 100644 --- a/src/foo.cc +++ b/src/foo.cc @@ -1,5 +1,9 @@ #include "lib2/foo.hh" +#include "wat.hh" void thingy() { frob(); + wat(); + showNyanCat(); + lolwut(); } diff --git a/src/nya.hh b/src/nya.hh new file mode 100644 index 0000000..15565ef --- /dev/null +++ b/src/nya.hh @@ -0,0 +1,2 @@ +#pragma once +int lolwut(); diff --git a/src/wat.hh b/src/wat.hh new file mode 100644 index 0000000..4e86a0f --- /dev/null +++ b/src/wat.hh @@ -0,0 +1,2 @@ +#pragma once +int wat();