brintos

brintos / llvm-project-archived public Read only

0
0
Text · 299 B · eb4c09d Raw
14 lines · cpp
1// RUN: not %clang_cc1 -fsyntax-only -std=c++11 2>&1 %s | FileCheck -strict-whitespace %s2 3struct A {4  unsigned int a;5};6 7// PR106968void testOverlappingInsertions(int b) {9  A var = { b };10  // CHECK:  A var = { b };11  // CHECK:            ^12  // CHECK:            static_cast<unsigned int>( )13}14