aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/appWithoutSources/b.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/blackbox/testdata/appWithoutSources/b.cpp')
-rw-r--r--tests/auto/blackbox/testdata/appWithoutSources/b.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/auto/blackbox/testdata/appWithoutSources/b.cpp b/tests/auto/blackbox/testdata/appWithoutSources/b.cpp
new file mode 100644
index 000000000..76c93685d
--- /dev/null
+++ b/tests/auto/blackbox/testdata/appWithoutSources/b.cpp
@@ -0,0 +1,10 @@
+#include <cstdio>
+
+int foo(); // defined in a.cpp
+
+int main()
+{
+ printf("The answer is %d.\n", foo());
+ return 0;
+}
+