summaryrefslogtreecommitdiff
path: root/clang/test/CodeGenCXX/2007-01-02-UnboundedArray.cpp
blob: 0cd83fa7ed4cf89e595dba34ac39953b264e4d8c (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Make sure unbounded arrays compile with debug information.
//
// RUN: %clang_cc1 -emit-llvm -g %s -o -

// PR1068

struct Object {
  char buffer[];
};

int main(int argc, char** argv) {
  new Object;
  return 0;
}