summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.ns/using14.C
blob: a5f984768f0c5bc2900ba7333f99c0bf6ccb28d1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble  }
// Origin: Mark Mitchell <mark@codesourcery.com>

extern "C" void f ();

namespace N {
extern "C" void f ();
}

using N::f;

void g ()
{
  f ();
}