add error loc for original default arg
authorBrendan Kehoe <brendan@gcc.gnu.org>
Mon, 18 May 1998 14:51:47 +0000 (10:51 -0400)
committerBrendan Kehoe <brendan@gcc.gnu.org>
Mon, 18 May 1998 14:51:47 +0000 (10:51 -0400)
From-SVN: r19854

gcc/testsuite/g++.old-deja/g++.pt/redecl1.C

index 7bc3eaae26b3f62e4261dc3ae1f98bf0a7e3df64..283d83f2affbb23a25f19ca26b40d61295afed62 100644 (file)
@@ -6,7 +6,7 @@ struct S1; // ERROR - previous declaration
 template <class T, class U>
 struct S1 {}; // ERROR - used 1 template parameter
 
-template <class T = int>
+template <class T = int> // ERROR - original def of default
 struct S2; 
 
 template <class T = int>