xref: /aosp_15_r20/external/clang/test/Preprocessor/hash_line.c (revision 67e74705e28f6214e480b399dd47ea732279e315)
1*67e74705SXin Li // The 1 and # should not go on the same line.
2*67e74705SXin Li // RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
3*67e74705SXin Li // CHECK: {{^1$}}
4*67e74705SXin Li // CHECK-NEXT: {{^      #$}}
5*67e74705SXin Li // CHECK-NEXT: {{^2$}}
6*67e74705SXin Li // CHECK-NEXT: {{^           #$}}
7*67e74705SXin Li #define EMPTY
8*67e74705SXin Li #define IDENTITY(X) X
9*67e74705SXin Li 1
10*67e74705SXin Li EMPTY #
11*67e74705SXin Li 2
12*67e74705SXin Li IDENTITY() #
13