summaryrefslogtreecommitdiff
path: root/test/FrontendC++/2003-08-27-TypeNamespaces.cpp
blob: dec97180a4206339535093d7142b16b44665f2ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %llvmgxx -S %s -o - | llvm-as -o /dev/null


namespace foo {
  namespace bar {
    struct X { X(); };

    X::X() {}
  }
}


namespace {
  struct Y { Y(); };
  Y::Y() {}
}