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
/
clang-rename
/
InvalidOffset.cpp
blob
2ae04d01e4a7c34326a8b49c3a1c1931053f9c7d
1
#include
"Inputs/HeaderWithSymbol.h"
2
#define FOO int bar;
3
FOO
4
5
int
foo
;
6
7
// RUN: not clang-rename -new-name=qux -offset=259 %s -- 2>&1 | FileCheck %s
8
// CHECK-NOT: CHECK
9
// CHECK: error: SourceLocation in file {{.*}}InvalidOffset.cpp at offset 259 is invalid