cproc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/cproc
Log | Files | Refs | Submodules | README | LICENSE

commit 998d77adf854fd3f3ce630372068fd3aa1edb2c2
parent fc2da56d350ce310cb6f6c97d6643c5645c664e1
Author: Michael Forney <mforney@mforney.org>
Date:   Wed, 18 Mar 2020 01:17:12 -0700

pp: Add test for function-like macro with no argument tokens

Diffstat:
Atest/preprocess-macro-function-no-args.c | 2++
Atest/preprocess-macro-function-no-args.pp | 1+
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/test/preprocess-macro-function-no-args.c b/test/preprocess-macro-function-no-args.c @@ -0,0 +1,2 @@ +#define f(x) x - 2 +f() diff --git a/test/preprocess-macro-function-no-args.pp b/test/preprocess-macro-function-no-args.pp @@ -0,0 +1 @@ + - 2