summaryrefslogtreecommitdiff
path: root/src/bar.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-06-11 19:07:09 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2021-06-11 19:07:16 +0200
commit474ce1322f3c13fe414b5e2201d82a4136a947da (patch)
tree841d4771e451d646c7a83384a148a7b791f1ff44 /src/bar.cc
Simple build config with dependency tracking.
Diffstat (limited to 'src/bar.cc')
-rw-r--r--src/bar.cc9
1 files changed, 9 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";
+}