diff options
author | Michael Forney <mforney@mforney.org> | 2020-03-16 02:09:59 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2020-03-17 15:22:51 -0700 |
commit | bad98e94caf37db71f8114bdb8562a7caa4fb256 (patch) | |
tree | e238ce199becccaf9f940685ba8cb27c2c74737d /test/preprocess-undef.c | |
parent | 19b816b032dfc01a49f7f86ae7c411a0f15fd2bc (diff) |
pp: Add support for macro definition and expansion
The token pasting operator `##` still needs to be implemented.
Diffstat (limited to 'test/preprocess-undef.c')
-rw-r--r-- | test/preprocess-undef.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 |