repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
Preprocessor
/
builtin_line.c
blob
db5a103742896d1097f2001f991e3548da9c7a67
1
// RUN: %clang_cc1 -E %s | FileCheck --strict-whitespace %s
2
#define FOO __LINE__
3
4
FOO
5
// CHECK: {{^}} 4{{$}}
6
7
// PR3579 - This should expand to the __LINE__ of the ')' not of the X.
8
9
#define X() __LINE__
10
11
A
X
(
12
13
)
14
// CHECK: {{^}}A 13{{$}}
15