aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.cp/nsimport.cc
blob: 6b180d63b3b4db7316f54655eaa9ffbd7e438691 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
namespace A {
  int x = 11;
  namespace{
    int xx = 22;
  }
}

using namespace A;

namespace{
  int xxx = 33;
};

int main()
{
  x;
  xx;
  xxx;
  return 0;
}