PR1068 - Unbounded array debug info.

llvm-svn: 32818
This commit is contained in:
Jim Laskey 2007-01-02 11:53:52 +00:00
parent 03c80e72d1
commit a131cf78ad
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,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;
}