Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.other/externC5.C

raw
1 // { dg-do assemble }
2 // Origin: [email protected]
3
4 extern "C" int rand (void) throw ();
5
6 namespace std
7 {
8 extern "C" int rand(void) throw();
9 template <class T> void f(T a) {}
10 }
11
12 using namespace std;
13
14 int main()
15 {
16 f(rand);
17 f(std::rand);
18 f(::rand);
19 }