modernc.org/cc@v1.0.1/v2/testdata/cpp-expand/example-6.10.3.5-9.h (about) 1 #define debug(...) fprintf(stderr, __VA_ARGS__) 2 #define showlist(...) puts(#__VA_ARGS__) 3 #define report(test, ...) ((test)?puts(#test):\ 4 printf(__VA_ARGS__)) 5 debug("Flag"); 6 debug("X = %d\n", x); 7 showlist(The first, second, and third items.); 8 report(x>y, "x is %d but y is %d", x, y);