OSDN Git Service

add error loc for original default arg
authorbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 May 1998 14:51:47 +0000 (14:51 +0000)
committerbrendan <brendan@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 18 May 1998 14:51:47 +0000 (14:51 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@19854 138bc75d-0d04-0410-961f-82ee72b054a4

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

index 7bc3eaa..283d83f 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>