From 8431842180bdd016af9550d72f9deb847d47e370 Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Tue, 16 Nov 2010 13:51:59 -0500 Subject: [PATCH] Unit tests for previous bugfix. --- unit_tests/preprocessor/output/macro-args-with-whitespace | 3 +++ .../preprocessor/output/macro-args-with-whitespace.correct | 1 + .../preprocessor/output/macro-multi-args-with-whitespace | 3 +++ .../output/macro-multi-args-with-whitespace.correct | 1 + 4 files changed, 8 insertions(+) create mode 100644 unit_tests/preprocessor/output/macro-args-with-whitespace create mode 100644 unit_tests/preprocessor/output/macro-args-with-whitespace.correct create mode 100644 unit_tests/preprocessor/output/macro-multi-args-with-whitespace create mode 100644 unit_tests/preprocessor/output/macro-multi-args-with-whitespace.correct diff --git a/unit_tests/preprocessor/output/macro-args-with-whitespace b/unit_tests/preprocessor/output/macro-args-with-whitespace new file mode 100644 index 00000000..6cc6ab3a --- /dev/null +++ b/unit_tests/preprocessor/output/macro-args-with-whitespace @@ -0,0 +1,3 @@ +#define right( x ) x +right( RIGHT ) + diff --git a/unit_tests/preprocessor/output/macro-args-with-whitespace.correct b/unit_tests/preprocessor/output/macro-args-with-whitespace.correct new file mode 100644 index 00000000..459b9a37 --- /dev/null +++ b/unit_tests/preprocessor/output/macro-args-with-whitespace.correct @@ -0,0 +1 @@ +RIGHT \ No newline at end of file diff --git a/unit_tests/preprocessor/output/macro-multi-args-with-whitespace b/unit_tests/preprocessor/output/macro-multi-args-with-whitespace new file mode 100644 index 00000000..2f3d20b0 --- /dev/null +++ b/unit_tests/preprocessor/output/macro-multi-args-with-whitespace @@ -0,0 +1,3 @@ +#define right( x , y ) x ## y +right( RI , GHT ) + diff --git a/unit_tests/preprocessor/output/macro-multi-args-with-whitespace.correct b/unit_tests/preprocessor/output/macro-multi-args-with-whitespace.correct new file mode 100644 index 00000000..459b9a37 --- /dev/null +++ b/unit_tests/preprocessor/output/macro-multi-args-with-whitespace.correct @@ -0,0 +1 @@ +RIGHT \ No newline at end of file