Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/resources/main.c')
-rw-r--r--debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/resources/main.c26
1 files changed, 26 insertions, 0 deletions
diff --git a/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/resources/main.c b/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/resources/main.c
new file mode 100644
index 00000000000..80405cedf32
--- /dev/null
+++ b/debug/org.eclipse.cdt.debug.ui.tests/core/org/eclipse/cdt/debug/core/tests/resources/main.c
@@ -0,0 +1,26 @@
+#include <stdio.h>
+
+void func1()
+{
+ int x,y,z;
+ x=1;
+ y=2;
+ z=3;
+ printf("Hello world\n");
+ printf("Hello world\n");
+ printf("Hello world\n");
+}
+
+int main()
+{
+ int a,b,c;
+ a=b=c=10;
+ a=12;
+ b=124;
+ c=1;
+ func1();
+ for (a=0;a<100;a++) {
+ c++;
+ }
+ return(1);
+}

Back to the top