| 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 |
| 8 | void testOverlappingInsertions(int b) { |
| 9 | A var = { b }; |
| 10 | // CHECK: A var = { b }; |
| 11 | // CHECK: ^ |
| 12 | // CHECK: static_cast<unsigned int>( ) |
| 13 | } |
| 14 |