summary refs log tree commit diff stats
path: root/tinyc/tests/pp/20.c
diff options
context:
space:
mode:
Diffstat (limited to 'tinyc/tests/pp/20.c')
-rw-r--r--tinyc/tests/pp/20.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/tinyc/tests/pp/20.c b/tinyc/tests/pp/20.c
deleted file mode 100644
index 7944d62bc..000000000
--- a/tinyc/tests/pp/20.c
+++ /dev/null
@@ -1,13 +0,0 @@
-/* Various things I encountered while hacking the pre processor */
-#define wrap(x) x
-#define pr_warning(fmt, ...) printk(KERN_WARNING fmt, ##__VA_ARGS__)
-#define pr_warn(x,y) pr_warning(x,y)
-#define net_ratelimited_function(function, ...) function(__VA_ARGS__)
-X1 net_ratelimited_function(pr_warn, "pipapo", bla);
-X2 net_ratelimited_function(wrap(pr_warn), "bla", foo);
-#define two m n
-#define chain4(a,b,c,d) a ## b ## c ## d
-X2 chain4(two,o,p,q)
-X3 chain4(o,two,p,q)
-X4 chain4(o,p,two,q)
-X5 chain4(o,p,q,two)