This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/14971] better error message for partial specialization of function templates requested


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-04-15 22:58 -------
For comparison here what ICC 6.0 gives:
pr14971.cc
pr14971.cc(5): error: an explicit template argument list is not allowed on this declaration
  void f<U,int> (U, int) {};
       ^

compilation aborted for pr14971.cc (code 2)

-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14971


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]