diff options
| author | 2025-12-06 11:41:44 +0100 | |
|---|---|---|
| committer | 2025-12-06 11:55:41 +0100 | |
| commit | d82f3052c813f671561362126d0fbe08568542d3 (patch) | |
| tree | d82546bdf7f62e3461906c49fa3f3715d13422a6 /test/07-pp.c | |
| parent | 2054983775165f3ae50b241aae71ccb4969eade4 (diff) | |
add command-line predefined macros (-D, -U)
Diffstat (limited to 'test/07-pp.c')
| -rw-r--r-- | test/07-pp.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/test/07-pp.c b/test/07-pp.c index c26105d..6a50571 100644 --- a/test/07-pp.c +++ b/test/07-pp.c @@ -1,3 +1,4 @@ +/* CFLAGS: -D CMD_WORKING -DV=void */ /* EXPECT: ok /1 "\n"n ;.& 05.5 ADD(1,2) hi from header ;73 @@ -30,9 +31,10 @@ u\ t\ s - +#ifdef CMD_WORKING int -main(void) +main(V) +#endif { int CATl(foo); ++foobar; |