Jim Laskey | a131cf7 | 2007-01-02 11:53:52 +0000 | [diff] [blame] | 1 | // Make sure unbounded arrays compile with debug information. |
2 | // | ||||
Duncan Sands | 5fe97a0 | 2010-11-25 21:39:17 +0000 | [diff] [blame] | 3 | // RUN: %llvmgcc -O0 -S -g %s |
Jim Laskey | a131cf7 | 2007-01-02 11:53:52 +0000 | [diff] [blame] | 4 | |
5 | // PR1068 | ||||
6 | |||||
7 | struct Object { | ||||
8 | char buffer[]; | ||||
9 | }; | ||||
10 | |||||
11 | int main(int argc, char** argv) { | ||||
12 | new Object; | ||||
13 | return 0; | ||||
14 | } |