blob: 0cd83fa7ed4cf89e595dba34ac39953b264e4d8c [file] [log] [blame]
Eric Christopher3b20b9e2011-08-19 23:15:04 +00001// Make sure unbounded arrays compile with debug information.
2//
3// RUN: %clang_cc1 -emit-llvm -g %s -o -
4
5// PR1068
6
7struct Object {
8 char buffer[];
9};
10
11int main(int argc, char** argv) {
12 new Object;
13 return 0;
14}