sample.c revision afbca4cfdb6c7468d7c07c56dc1dc5173456903b
// compile me with gcc
/* this is sample comment } */
#include <stdio.h>
#include <string.h>
#define TEST(x) (x)
int foo(int a, int b) {
/* blah blah
}
*/
int c;
const char *msg = "this is } sample { string";
if (a < b) {
} else {
// }}}}} something to return
}
return c;
}
int bar(int x /* } */)
{
// another function
int d;
int f;
f = foo(x, d);
/* return
some
rubish
*/
return d+f;
}
// main function
int res;
printf("this is just a {sample}}");
return 0; }