From 245beb304f849a89c8eb8fb19b111adbc67893e9 Mon Sep 17 00:00:00 2001 From: Patrick Palka Date: Fri, 21 Aug 2015 20:25:47 +0000 Subject: [PATCH] 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 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.old-deja/g++.jason/overload.C | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.30.2