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


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