Fix a buggy constant folding transformation when handling aliases.
[oota-llvm.git] / test / C++Frontend / 2003-08-27-TypeNamespaces.cpp
1 // RUN: %llvmgxx -S %s -o - | llvm-as -f -o /dev/null
2
3
4 namespace foo {
5   namespace bar {
6     struct X { X(); };
7
8     X::X() {}
9   }
10 }
11
12
13 namespace {
14   struct Y { Y(); };
15   Y::Y() {}
16 }