brintos

brintos / llvm-project-archived public Read only

0
0
Text · 239 B · c76b7ef Raw
15 lines · cpp
1// Make sure unbounded arrays compile with debug information.2//3// RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o -4 5// PR10686 7struct Object {8  char buffer[];9};10 11int main(int argc, char** argv) {12  new Object;13  return 0;14}15