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

12 lines
243 B
C
Raw Normal View History

// The 1 and # should not go on the same line.
2013-01-26 04:34:08 +08:00
// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
// CHECK-NOT: 1{{.*}}#
// CHECK: {{^1$}}
// CHECK-NOT: 1{{.*}}#
// CHECK: {{^ #$}}
// CHECK-NOT: 1{{.*}}#
1
#define EMPTY
EMPTY #