Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / clang / test / Preprocessor / builtin_line.c
blobdb5a103742896d1097f2001f991e3548da9c7a67
1 // RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
2 #define FOO __LINE__
4 FOO
5 // CHECK: {{^}} 4{{$}}
7 // PR3579 - This should expand to the __LINE__ of the ')' not of the X.
9 #define X() __LINE__
11 A X(
14 // CHECK: {{^}}A 13{{$}}