From: Patrick Palka Date: Fri, 21 Aug 2015 20:25:47 +0000 (+0000) Subject: Adjust g++.old-deja/g++.jason/overload.C X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=245beb304f849a89c8eb8fb19b111adbc67893e9;p=gcc.git Adjust g++.old-deja/g++.jason/overload.C gcc/testsuite/ChangeLog: * g++.old-deja/g++.jason/overload.C: Adjust to preserve original property that instantiation here is a compile-time error. From-SVN: r227088 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 08d7118be68..945ef0124fc 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2015-08-21 Patrick Palka + + * g++.old-deja/g++.jason/overload.C: Adjust to preserve original + property that instantiation here is a compile-time error. + 2015-08-21 Paolo Carlini * g++.dg/other/pr67065.C: Extend. diff --git a/gcc/testsuite/g++.old-deja/g++.jason/overload.C b/gcc/testsuite/g++.old-deja/g++.jason/overload.C index 28b029f48be..5d27713d770 100644 --- a/gcc/testsuite/g++.old-deja/g++.jason/overload.C +++ b/gcc/testsuite/g++.old-deja/g++.jason/overload.C @@ -5,7 +5,7 @@ enum bar {}; void operator+ (int, int);// { dg-error "" } .* void operator+ (bar&, int); -template void operator+ (int b, T& t) { return; } +template void operator+ (int b, T& t) { (void) T::bogus; } void operator+ (int, bar&); template class foo