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