summaryrefslogtreecommitdiffstats
path: root/languages/cpp/debugger/tests/two_module/src/foo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'languages/cpp/debugger/tests/two_module/src/foo.cpp')
-rw-r--r--languages/cpp/debugger/tests/two_module/src/foo.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/languages/cpp/debugger/tests/two_module/src/foo.cpp b/languages/cpp/debugger/tests/two_module/src/foo.cpp
new file mode 100644
index 00000000..b66f9924
--- /dev/null
+++ b/languages/cpp/debugger/tests/two_module/src/foo.cpp
@@ -0,0 +1,12 @@
+
+#include <stdio.h>
+#include <qstring.h>
+
+void foo(int a)
+{
+ QString s = "foo";
+ int i = 10;
+ int i2 = 12;
+ int i3 = i + i2;
+ printf("i3 = %d\n", i3);
+} \ No newline at end of file