xref: /minix3/external/bsd/llvm/dist/clang/test/FixIt/messages.cpp (revision f4a2713ac843a11c696ec80c0a5e3e5d80b4d338)
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
testOverlappingInsertions(int b)8 void testOverlappingInsertions(int b) {
9   A var = { b };
10   // CHECK:  A var = { b };
11   // CHECK:            ^
12   // CHECK:            static_cast<unsigned int>( )
13 }
14