llvm-6502/test/FrontendC++/2003-08-27-TypeNamespaces.cpp

17 lines
183 B
C++
Raw Normal View History

// RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
namespace foo {
namespace bar {
struct X { X(); };
X::X() {}
}
}
namespace {
struct Y { Y(); };
Y::Y() {}
}