repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Dead
[official-gcc.git]
/
gomp-20050608-branch
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
externC5.C
blob
3e32d4ffa1d20925d70702399cde1246e0b1fe26
1
// { dg-do assemble }
2
// Origin: schmid@snake.iap.physik.tu-darmstadt.de
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
}