Commit 245beb30 by Patrick Palka

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
parent 27294e9f
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.
......
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment