llvm-project/clang/test/Preprocessor/hash_line.c

9 lines
190 B
C

// The 1 and # should not go on the same line.
// RUN: clang-cc %s -E | not grep "1 #"
// RUN: clang-cc %s -E | grep '^1$'
// RUN: clang-cc %s -E | grep '^ #$'
1
#define EMPTY
EMPTY #