[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGenCXX / 2007-01-02-UnboundedArray.cpp
blobc76b7ef2163c9bac91667bbac95b964875e8dd0b
1 // Make sure unbounded arrays compile with debug information.
2 //
3 // RUN: %clang_cc1 -emit-llvm -debug-info-kind=limited %s -o -
5 // PR1068
7 struct Object {
8 char buffer[];
9 };
11 int main(int argc, char** argv) {
12 new Object;
13 return 0;