summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.dg/lookup/ns1.C
blob: feeaf751cadd35e6a1da0a22a56695c200b94ce0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// PR c++/12862

typedef int Thingo;
  
namespace A
{
    void
    Thingo();
}
  
void
A::Thingo()
{
  ;
}
  
int
main()
{
  A::Thingo();
  return 0;
}