diff options
Diffstat (limited to 'test/Preprocessor/hash_line.c')
-rw-r--r-- | test/Preprocessor/hash_line.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Preprocessor/hash_line.c b/test/Preprocessor/hash_line.c new file mode 100644 index 0000000000..788440ba82 --- /dev/null +++ b/test/Preprocessor/hash_line.c @@ -0,0 +1,8 @@ +// The 1 and # should not go on the same line. +// RUN: clang %s -E | not grep "1 #" && +// RUN: clang %s -E | grep '^1$' && +// RUN: clang %s -E | grep '^ #$' +1 +#define EMPTY +EMPTY # + |