Message ID | CAMe9rOqvWY=MbN7G9CpFiaOPHbjwO9=nLo3aTSdVGd-0Tdfzow@mail.gmail.com |
---|---|
State | New |
Headers | show |
c++98_only is wrong, we should just remove the target specifier. Jason
On Fri, Mar 4, 2016 at 11:47 AM, Jason Merrill <jason@redhat.com> wrote: > c++98_only is wrong, we should just remove the target specifier. > > Jason Tested with trunk and 5. Done.
Index: ChangeLog =================================================================== --- ChangeLog (revision 233974) +++ ChangeLog (working copy) @@ -1,3 +1,7 @@ +2016-03-04 H.J. Lu <hongjiu.lu@intel.com> + + * g++.dg/template/typename21.C: Replace c++98 with c++98_only. + 2016-03-04 David Malcolm <dmalcolm@redhat.com> PR c/68187 Index: g++.dg/template/typename21.C =================================================================== --- g++.dg/template/typename21.C (revision 233974) +++ g++.dg/template/typename21.C (working copy) @@ -1,5 +1,5 @@ // PR c++/70067 -// { dg-do compile { target c++98 } } +// { dg-do compile { target c++98_only } } template <class> struct A; template <class T> struct B { struct N { }; };