aboutsummaryrefslogtreecommitdiffstats
path: root/test/C++Frontend/2003-11-04-ArrayConstructors.cpp
blob: 8c7c0bfa7db2b81dda7f69d74fd69ea414bbce86 (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 };
}