OSDN Git Service
(root)
/
pf3gnuchains
/
gcc-fork.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gcc.dg/20020201-1.c: Use cleanup-coverage_files.
[pf3gnuchains/gcc-fork.git]
/
gcc
/
testsuite
/
g++.old-deja
/
g++.other
/
externC5.C
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
}