llvm-mirror/test/FrontendC++/2003-11-04-ArrayConstructors.cpp

13 lines
154 B
C++
Raw Normal View History

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