blob: b9391449ad16b78eec6590143e6ff4a5c3fa0715 [file] [log] [blame]
Jordan Rose1fdda362012-06-08 22:46:04 +00001// RUN: %clang_cc1 -fsyntax-only -std=c++11 2>&1 %s | FileCheck -strict-whitespace %s
2
3struct A {
4 unsigned int a;
5};
6
7// PR10696
8void testOverlappingInsertions(int b) {
9 A var = { b };
10 // CHECK: A var = { b };
11 // CHECK: ^
12 // CHECK: static_cast<unsigned int>( )
13}