C compiler with embedded metalanguage.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

14 lines
193 B

#define CAT(x,y) x ## y
#define XCAT(x,y) CAT(x,y)
#define FOO foo
#define BAR bar
int
main(void)
{
int foo, bar, foobar;
CAT(foo,bar) = foo + bar;
XCAT(FOO,BAR) = foo + bar;
return 0;
}