modernc.org/ccgo/v3@v3.16.14/lib/testdata/tcc-0.9.27/tests/pp/20.c (about) 1 /* Various things I encountered while hacking the pre processor */ 2 #define wrap(x) x 3 #define pr_warning(fmt, ...) printk(KERN_WARNING fmt, ##__VA_ARGS__) 4 #define pr_warn(x,y) pr_warning(x,y) 5 #define net_ratelimited_function(function, ...) function(__VA_ARGS__) 6 X1 net_ratelimited_function(pr_warn, "pipapo", bla); 7 X2 net_ratelimited_function(wrap(pr_warn), "bla", foo); 8 #define two m n 9 #define chain4(a,b,c,d) a ## b ## c ## d 10 X2 chain4(two,o,p,q) 11 X3 chain4(o,two,p,q) 12 X4 chain4(o,p,two,q) 13 X5 chain4(o,p,q,two)