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
[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git]
/
clang
/
test
/
FixIt
/
messages.cpp
blob
eb4c09d629ed3189634162d61b6ff4f95a97ed02
1
// RUN: not %clang_cc1 -fsyntax-only -std=c++11 2>&1 %s | FileCheck -strict-whitespace %s
2
3
struct
A
{
4
unsigned int
a
;
5
};
6
7
// PR10696
8
void
testOverlappingInsertions
(
int
b
) {
9
A var
= {
b
};
10
// CHECK: A var = { b };
11
// CHECK: ^
12
// CHECK: static_cast<unsigned int>( )
13
}