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