lang-bootstrap/05/tcc-0.9.27/tests/tests2/12_hashdefine.c

15 lines
225 B
C
Raw Normal View History

2022-02-18 12:36:57 -05:00
#include <stdio.h>
#define FRED 12
#define BLOGGS(x) (12*(x))
int main()
{
printf("%d\n", FRED);
printf("%d, %d, %d\n", BLOGGS(1), BLOGGS(2), BLOGGS(3));
return 0;
}
// vim: set expandtab ts=4 sw=3 sts=3 tw=80 :