summaryrefslogtreecommitdiff
path: root/release_23/test/C++Frontend/2003-11-04-ArrayConstructors.cpp
blob: 4df4f9b6727b5923e9ea7496a64f8b4b136f2fc7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null


struct Foo {
  Foo(int);
  ~Foo();
};
void foo() {
  struct {
    Foo name;
  } Int[] =  { 1 };
}