• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 #include <stdio.h>
2 
3 #ifdef _MSC_VER
4 #include <windows.h>
5 #endif
6 
7 extern int add1(int, int);
8 
9 
main(void)10 int main(void)
11 {
12     int x, y;
13     x = add1(40, 2);
14     y = add1(100, -5);
15     printf("got: %d %d\n", x, y);
16 #ifdef _MSC_VER
17     if (x == 0 && y == 0)
18         Sleep(2000);
19 #endif
20     return 0;
21 }
22