diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/bar.cc | 9 | ||||
-rw-r--r-- | src/bar.o | bin | 0 -> 2848 bytes | |||
-rw-r--r-- | src/bas.h | 2 | ||||
-rw-r--r-- | src/foo.cc | 6 | ||||
-rw-r--r-- | src/foo.h | 5 |
5 files changed, 22 insertions, 0 deletions
diff --git a/src/bar.cc b/src/bar.cc new file mode 100644 index 0000000..2486a0a --- /dev/null +++ b/src/bar.cc @@ -0,0 +1,9 @@ +#include <iostream> + +#include "foo.h" + +int main() +{ + foo(); + std::cout << __FILE__ << "\n"; +} diff --git a/src/bar.o b/src/bar.o Binary files differnew file mode 100644 index 0000000..37903db --- /dev/null +++ b/src/bar.o diff --git a/src/bas.h b/src/bas.h new file mode 100644 index 0000000..3f59c93 --- /dev/null +++ b/src/bas.h @@ -0,0 +1,2 @@ +#pragma once + diff --git a/src/foo.cc b/src/foo.cc new file mode 100644 index 0000000..b2c478c --- /dev/null +++ b/src/foo.cc @@ -0,0 +1,6 @@ +#include <iostream> + +void foo() +{ + std::cout << __FILE__ << "\n"; +} diff --git a/src/foo.h b/src/foo.h new file mode 100644 index 0000000..9620fc7 --- /dev/null +++ b/src/foo.h @@ -0,0 +1,5 @@ +#pragma once + +#include "bas.h" + +void foo(); |