From bad98e94caf37db71f8114bdb8562a7caa4fb256 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Mon, 16 Mar 2020 02:09:59 -0700 Subject: pp: Add support for macro definition and expansion The token pasting operator `##` still needs to be implemented. --- test/preprocess-undef.c | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 test/preprocess-undef.c (limited to 'test/preprocess-undef.c') diff --git a/test/preprocess-undef.c b/test/preprocess-undef.c new file mode 100644 index 0000000..c43f9ea --- /dev/null +++ b/test/preprocess-undef.c @@ -0,0 +1,3 @@ +#define foo bar +#undef foo +foo -- cgit v1.2.3