reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
    1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
// RUN: not %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>( )
}