aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/using3.C
blob: a8c1761f6f5976767e31ce3fb3dc97170aef41a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Build don't link:

typedef	unsigned int atypedef;
struct astruct{};
void afunction();
void aovlfunction();
void aovlfunction(int);
int avariable;

namespace foo {
  using ::atypedef;
  using ::astruct;
  using ::afunction;
  using ::aovlfunction;
  using ::avariable;
}