1*f4a2713aSLionel Sambuc // RUN: not %clang_cc1 -fsyntax-only -std=c++11 2>&1 %s | FileCheck -strict-whitespace %s 2*f4a2713aSLionel Sambuc 3*f4a2713aSLionel Sambuc struct A { 4*f4a2713aSLionel Sambuc unsigned int a; 5*f4a2713aSLionel Sambuc }; 6*f4a2713aSLionel Sambuc 7*f4a2713aSLionel Sambuc // PR10696 testOverlappingInsertions(int b)8*f4a2713aSLionel Sambucvoid testOverlappingInsertions(int b) { 9*f4a2713aSLionel Sambuc A var = { b }; 10*f4a2713aSLionel Sambuc // CHECK: A var = { b }; 11*f4a2713aSLionel Sambuc // CHECK: ^ 12*f4a2713aSLionel Sambuc // CHECK: static_cast<unsigned int>( ) 13*f4a2713aSLionel Sambuc } 14