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(); f(T a)9template <class T> void f(T a) {} 10 } 11 12 using namespace std; 13 main()14int main() 15 { 16 f(rand); 17 f(std::rand); 18 f(::rand); 19 } 20