aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/pp.c
diff options
context:
space:
mode:
authorlemon <lsof@mailbox.org>2025-09-10 11:19:16 +0200
committerlemon <lsof@mailbox.org>2025-09-10 11:19:16 +0200
commit45591bc221bb8268567acdaa523cbac94d31a90e (patch)
tree4e992ea4822af8313bd6ce02a574c6e20ad690f6 /test/pp.c
parent59c9eb2a0766bdb7b1c1b1a2045f5381111771e5 (diff)
lex: implement basic function-like macro functionality
Diffstat (limited to 'test/pp.c')
-rw-r--r--test/pp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/pp.c b/test/pp.c
index ee4b98a..2e6193e 100644
--- a/test/pp.c
+++ b/test/pp.c
@@ -5,6 +5,5 @@
int
main(void)
{
- hi();
- return Foo + Bar;
+ hi(ADD(Foo, SQR(Bar+1)));
}