summaryrefslogtreecommitdiffstats
path: root/test/FixIt/messages.cpp
blob: b9391449ad16b78eec6590143e6ff4a5c3fa0715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// RUN: %clang_cc1 -fsyntax-only -std=c++11 2>&1 %s | FileCheck -strict-whitespace %s

struct A {
  unsigned int a;
};

// PR10696
void testOverlappingInsertions(int b) {
  A var = { b };
  // CHECK:  A var = { b };
  // CHECK:            ^
  // CHECK:            static_cast<unsigned int>( )
}
OpenPOWER on IntegriCloud