diff options
Diffstat (limited to 'clang/test/Preprocessor/hash_space.c')
-rw-r--r-- | clang/test/Preprocessor/hash_space.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/Preprocessor/hash_space.c b/clang/test/Preprocessor/hash_space.c new file mode 100644 index 0000000..ac97556 --- /dev/null +++ b/clang/test/Preprocessor/hash_space.c @@ -0,0 +1,6 @@ +// RUN: %clang_cc1 %s -E | grep " #" + +// Should put a space before the # so that -fpreprocessed mode doesn't +// macro expand this again. +#define HASH # +HASH define foo bar |