1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00
llvm-mirror/test/Regression/C++Frontend/2003-11-04-ArrayConstructors.cpp

13 lines
156 B
C++
Raw Normal View History

2004-11-06 23:29:57 +01:00
// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
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 };
}