Martin said:
authorRobert Lipe <robertl@gcc.gnu.org>
Sun, 31 May 1998 21:08:03 +0000 (21:08 +0000)
committerRobert Lipe <robertl@gcc.gnu.org>
Sun, 31 May 1998 21:08:03 +0000 (21:08 +0000)
This is illegal C++, and egcs detects that.

From-SVN: r20156

gcc/testsuite/g++.old-deja/g++.robertl/eb103.C

index 5bd796a420d02decb59192d271889fd86e4c4947..ef25fb46634e53580c984d15916a5b769644fd8e 100644 (file)
@@ -5,7 +5,7 @@ template <int nlimb, int i>
 inline unsigned f (unsigned* ptr);
 template <int nlimb>
 inline unsigned f<nlimb,nlimb> (unsigned* ptr)
-{
+{                        //ERROR - partial specialization of function?
   return 1;
 }