1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/FrontendC++/2003-11-04-ArrayConstructors.cpp

13 lines
151 B
C++
Raw Normal View History

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