summaryrefslogtreecommitdiffstats
path: root/test/Preprocessor/hash_line.c
blob: c4de9f04044e2b397d2645ad1e1e76282fc9c2fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// The 1 and # should not go on the same line.
// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
// CHECK: {{^1$}}
// CHECK-NEXT: {{^      #$}}
// CHECK-NEXT: {{^2$}}
// CHECK-NEXT: {{^           #$}}
#define EMPTY
#define IDENTITY(X) X
1
EMPTY #
2
IDENTITY() #