aboutsummaryrefslogtreecommitdiff
path: root/test/FrontendC++/2007-01-02-UnboundedArray.cpp
blob: 648d19be62b8cb1b6777e45834a7a0325c089d9d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Make sure unbounded arrays compile with debug information.
// 
// RUN: %llvmgcc -O0 -c -g %s

// PR1068

struct Object {
  char buffer[];
};

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