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
This commit is contained in:
Patrick Palka 2015-08-21 20:25:47 +00:00
parent 27294e9f02
commit 245beb304f
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2015-08-21 Patrick Palka <ppalka@gcc.gnu.org>
* 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 <paolo.carlini@oracle.com>
* g++.dg/other/pr67065.C: Extend.

View File

@ -5,7 +5,7 @@ enum bar {};
void operator+ (int, int);// { dg-error "" } .*
void operator+ (bar&, int);
template <class T> void operator+ (int b, T& t) { return; }
template <class T> void operator+ (int b, T& t) { (void) T::bogus; }
void operator+ (int, bar&);
template <class T> class foo