// PR c++/26912

struct Foo { 
  template<class T> int func() const; 
}; 

class Bar { 
  friend int Foo::func<int>() const;
}; 




syntax highlighted by Code2HTML, v. 0.9.1