1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00
cdt/debug/org.eclipse.cdt.debug.application.tests/projects/hello/hello.c
Jeff Johnston c9f9ee1bb9 Initial Standalone debugger SWTBot test
- includes a launch configuration for launching directly from
  an Eclipse session

Change-Id: I238e72894b739f827dd6efba3acef9d304771f0d
2015-01-22 15:00:53 -05:00

13 lines
263 B
C

#include <stdio.h>
#include "somehdr.h"
int main(int argc, char **argv) {
int k = SOME_VALUE; /* comment */
int j = x(k);
int i;
for (i = 0; i < argc; ++i) {
printf("argv %d is %s\n", i, argv[i]);
}
printf ("hello world %d\n", j);
return 0;
}