llvm-project/llvm/test/C++Frontend/2003-11-04-ArrayConstructor...

13 lines
154 B
C++
Raw Normal View History

2004-11-07 06:29:57 +08:00
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
2003-11-05 13:22:15 +08:00
struct Foo {
Foo(int);
~Foo();
2003-11-05 13:22:15 +08:00
};
void foo() {
struct {
Foo name;
} Int[] = { 1 };
}