Mercurial > hg > CbC > CbC_llvm
annotate clang/test/Preprocessor/hash_line.c @ 236:c4bab56944e8 llvm-original
LLVM 16
author | kono |
---|---|
date | Wed, 09 Nov 2022 17:45:10 +0900 |
parents | 1d019706d866 |
children |
rev | line source |
---|---|
150 | 1 // The 1 and # should not go on the same line. |
2 // RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s | |
3 // CHECK: {{^1$}} | |
4 // CHECK-NEXT: {{^ #$}} | |
5 // CHECK-NEXT: {{^2$}} | |
6 // CHECK-NEXT: {{^ #$}} | |
236 | 7 |
8 // RUN: %clang_cc1 -E -P -fminimize-whitespace %s | FileCheck --strict-whitespace %s --check-prefix=MINWS | |
9 // MINWS: {{^}}1#2#{{$}} | |
10 | |
150 | 11 #define EMPTY |
12 #define IDENTITY(X) X | |
13 1 | |
14 EMPTY # | |
15 2 | |
16 IDENTITY() # |